@zohodesk/react-cli 1.1.25-exp.4 → 1.1.25-exp.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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;
@@ -51,6 +51,7 @@ keysWithColon.forEach(key => {
51
51
 
52
52
  processEnv[nkey] = processEnv[key];
53
53
  });
54
+ console.log(processEnv.enable_stats, 'what is this');
54
55
 
55
56
  function getNpmVersion() {
56
57
  // require("child_process").
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/react-cli",
3
- "version": "1.1.25-exp.4",
3
+ "version": "1.1.25-exp.6",
4
4
  "description": "A CLI tool for build modern web application and libraries",
5
5
  "scripts": {
6
6
  "init": "node ./lib/utils/init.js",