0.0.5 • Published 2 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 mp
argument entry
yarn mp my/path/entry.js
argument entry alias
yarn mp foo
build
configuration default entry
yarn mp --build
argument alias
yarn mp --build main
argument entry and argument build
yarn mp --build --output my/path/build my/entry.jsx
License
MIT
Free Software, Hell Yeah!