@manpacker/generator-react

1.10.0 • Public • Published

npm npm bundle size npm NPM

nodei.co

Explain

@manpacker/generator-react is a set of build engine based on @manpacker/generator to build engine package.
Entry file supported file extension js or ts
Support for multi-portal file build, Files must be in the build root directory.

Consult

@manpacker/generator

Install

npm i @manpacker/generator-react -D

Usage

CLI

Start the local development environment.

manpacker-react server
manpacker-react server --ic [value] -c [config] --port [number]

Construction of production environment engineering project.

manpacker-react build
manpacker-react build --ic [value] -c [config]

.manpackeric

Default root file name: .manpackeric
Configuration item description:
Expand:

name type value description
isReactProvide boolean default: true Automatically provide React ReactDOM references

isReactProvide

{ isReactProvide: false }

Every file need import React from 'react' Every file need import ReactDOM from 'react-dom'

Npm

link

Package Sidebar

Install

npm i @manpacker/generator-react

Weekly Downloads

1

Version

1.10.0

License

MIT

Unpacked Size

5.75 kB

Total Files

15

Last publish

Collaborators

  • winterfete