@nebula.js/cli-build 5.9.1 → 5.9.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.
Files changed (2) hide show
  1. package/lib/config.js +8 -0
  2. package/package.json +6 -5
package/lib/config.js CHANGED
@@ -9,6 +9,7 @@ const commonjs = require('@rollup/plugin-commonjs');
9
9
  const terser = require('@rollup/plugin-terser');
10
10
  const jsxPlugin = require('@babel/plugin-transform-react-jsx');
11
11
  const babelPreset = require('@babel/preset-env');
12
+ const { visualizer } = require('rollup-plugin-visualizer');
12
13
 
13
14
  const resolveNative = require('./resolveNative');
14
15
 
@@ -195,6 +196,13 @@ const config = ({
195
196
  })
196
197
  : false,
197
198
  ],
199
+ ...[
200
+ mode === 'development'
201
+ ? visualizer({
202
+ filename: 'bundle-analysis.html',
203
+ })
204
+ : false,
205
+ ],
198
206
  ].filter(Boolean),
199
207
  },
200
208
  output: output(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nebula.js/cli-build",
3
- "version": "5.9.1",
3
+ "version": "5.9.3",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "author": "QlikTech International AB",
@@ -22,9 +22,9 @@
22
22
  },
23
23
  "dependencies": {
24
24
  "@babel/cli": "7.26.4",
25
- "@babel/core": "7.26.0",
25
+ "@babel/core": "7.26.7",
26
26
  "@babel/plugin-transform-react-jsx": "7.25.9",
27
- "@babel/preset-env": "7.26.0",
27
+ "@babel/preset-env": "7.26.7",
28
28
  "@rollup/plugin-babel": "6.0.4",
29
29
  "@rollup/plugin-commonjs": "28.0.2",
30
30
  "@rollup/plugin-json": "6.1.0",
@@ -34,8 +34,9 @@
34
34
  "chalk": "4.1.2",
35
35
  "extend": "3.0.2",
36
36
  "postcss": "^8.5.1",
37
- "rollup": "4.31.0",
37
+ "rollup": "4.34.1",
38
38
  "rollup-plugin-postcss": "4.0.2",
39
+ "rollup-plugin-visualizer": "5.14.0",
39
40
  "yargs": "17.7.2"
40
41
  },
41
42
  "devDependencies": {
@@ -43,5 +44,5 @@
43
44
  "tslib": "*",
44
45
  "typescript": ">=5.7.3"
45
46
  },
46
- "gitHead": "5d3931a192cf1cc70b2e55284e21af14a88f4b82"
47
+ "gitHead": "12917fb7addbdd69a5e1fa4c37af22313a0076c3"
47
48
  }