0.0.5 • Published 4 years ago
mp48-cra v0.0.5
mapineda-cra
Minimal overwrite react-scripts config without eject.
Before Installation
Before bootstrapping with Create React App.
Installation
$ yarn add mp48-cra
Usage
Configurations
set in cra.json on root project.
{
"app": {
"foo": {
"entry": "my/custom/path/entry.js"
},
"bar": {
"entry": "my/custom/path/entry.js",
"template": "public/my/custom/path/index.html"
}
},
"main": "foo"
}start
configuration default entry
yarn mpargument entry
yarn mp my/path/entry.jsargument entry alias
yarn mp foobuild
configuration default entry
yarn mp --buildargument alias
yarn mp --build mainargument entry and argument build
yarn mp --build --output my/path/build my/entry.jsxLicense
MIT
Free Software, Hell Yeah!