0.0.5 • Published 2 years ago

mp48-cra v0.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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!

0.0.5

2 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago