@zohodesk/react-cli 1.1.25-exp.4 → 1.1.25-exp.6
Sign up to get free protection for your applications and to get access to all the features.
package/bin/cli.js
CHANGED
@@ -13,6 +13,7 @@ const [, , option] = process.argv;
|
|
13
13
|
const args = process.argv.slice(3);
|
14
14
|
const appPath = process.cwd();
|
15
15
|
|
16
|
+
console.log(args, option, 'hello')
|
16
17
|
const options = getOptions({ start: true, build: true, docs: true }[option]);
|
17
18
|
|
18
19
|
function spawnSync(...args) {
|
@@ -44,7 +44,6 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
44
44
|
// import { configHtmlWebpackPlugins } from './configHtmlWebpackPlugins';
|
45
45
|
// eslint-disable-next-line no-unused-vars
|
46
46
|
const getProdPlugins = (options, publicPath = '') => {
|
47
|
-
console.log(options);
|
48
47
|
let {
|
49
48
|
enableChunkHash
|
50
49
|
} = options.app;
|
package/lib/utils/getOptions.js
CHANGED