CLI

Table of Contents

--analyze

Runs webpack-bundle-analyzer.

Option is available for start script.

Example

react-union-scripts start --app MyApp --analyze

--app

Determines what application to build or start.

Option is available for start and build scripts.

Example

react-union-scripts start --app MyApp

--no-hmr

If is set, hot module replacement is off.

Option is available for start and build scripts.

Example

react-union-scripts start --no-hmr

--proxy

If is set, we start proxy server instead of development server.

Option is available for start script.

Example

react-union-scripts start --proxy

--release

If is set, the build is optimized for production.

Option is available for start and build scripts.

Example

react-union-scripts build --release

--target

Custom value that can be used in union.config.js. Option is available for start and build scripts.

Example

react-union-scripts build --target wordpress

--verbose

If is set, the console output is more verbose.

Option is available for start and build scripts.

Example

react-union-scripts build --verbose