@pushwoosh/frontend-builder-engine 0.2.1 → 0.2.3

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.
@@ -91,6 +91,23 @@ program
91
91
  }),
92
92
  );
93
93
 
94
+ program
95
+ .addCommand(
96
+ new Command('app:analyze:get')
97
+ .description('App')
98
+ .action(async () => {
99
+ const cmd = [
100
+ './node_modules/.bin/webpack',
101
+ '--config',
102
+ './node_modules/@pushwoosh/frontend-builder-engine/lib/webpack.application.config.js',
103
+ '--mode=production',
104
+ '--env',
105
+ 'analyze',
106
+ ];
107
+ console.log(cmd.join(' '));
108
+ }),
109
+ );
110
+
94
111
  const pushwooshConfig = loadPushwooshConfig();
95
112
  if (pushwooshConfig.program) {
96
113
  pushwooshConfig.program(program);
@@ -9,7 +9,6 @@ function loadVariables(loadLocal) {
9
9
  }
10
10
  variables = parsed;
11
11
  }
12
- console.log('variables', variables);
13
12
  return variables;
14
13
  }
15
14
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/frontend-builder-engine",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
4
4
  "description": "Pushwoosh frontend builder engine",
5
5
  "main": "./lib/pushwoosh-frontend-builder-engine.js",
6
6
  "scripts": {