@nebula.js/cli-build 6.0.0 → 6.0.1
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/lib/config.js +3 -5
- package/lib/systemjs.js +1 -0
- package/package.json +2 -3
package/lib/config.js
CHANGED
|
@@ -7,7 +7,6 @@ const json = require('@rollup/plugin-json');
|
|
|
7
7
|
const { nodeResolve } = require('@rollup/plugin-node-resolve');
|
|
8
8
|
const commonjs = require('@rollup/plugin-commonjs');
|
|
9
9
|
const terser = require('@rollup/plugin-terser');
|
|
10
|
-
const jsxPlugin = require('@babel/plugin-transform-react-jsx');
|
|
11
10
|
const babelPreset = require('@babel/preset-env');
|
|
12
11
|
const { visualizer } = require('rollup-plugin-visualizer');
|
|
13
12
|
const browsersList = require('@qlik/browserslist-config');
|
|
@@ -153,7 +152,7 @@ const config = ({
|
|
|
153
152
|
},
|
|
154
153
|
},
|
|
155
154
|
],
|
|
156
|
-
[babelPresetReact],
|
|
155
|
+
[babelPresetReact, { runtime: 'automatic' }],
|
|
157
156
|
];
|
|
158
157
|
|
|
159
158
|
if (typescript) {
|
|
@@ -195,16 +194,16 @@ const config = ({
|
|
|
195
194
|
postcss({
|
|
196
195
|
exclude: /\.module\.css$/,
|
|
197
196
|
}),
|
|
197
|
+
// Handle all CSS with conditional modules processing
|
|
198
198
|
postcss({
|
|
199
199
|
include: /\.module\.css$/,
|
|
200
200
|
modules: true,
|
|
201
|
-
extract:
|
|
201
|
+
extract: false,
|
|
202
202
|
}),
|
|
203
203
|
commonjs({
|
|
204
204
|
ignoreTryCatch: false, // Avoids problems with require() inside try catch (https://github.com/rollup/plugins/issues/1004)
|
|
205
205
|
}),
|
|
206
206
|
json(),
|
|
207
|
-
// Handle all CSS with conditional modules processing
|
|
208
207
|
|
|
209
208
|
babel({
|
|
210
209
|
babelHelpers: 'bundled',
|
|
@@ -212,7 +211,6 @@ const config = ({
|
|
|
212
211
|
inputSourceMap: sourcemap,
|
|
213
212
|
extensions,
|
|
214
213
|
presets: babelPresets,
|
|
215
|
-
plugins: [[jsxPlugin]],
|
|
216
214
|
}),
|
|
217
215
|
...[
|
|
218
216
|
mode === 'production'
|
package/lib/systemjs.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nebula.js/cli-build",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "QlikTech International AB",
|
|
@@ -23,7 +23,6 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@babel/cli": "7.28.3",
|
|
25
25
|
"@babel/core": "7.28.4",
|
|
26
|
-
"@babel/plugin-transform-react-jsx": "7.27.1",
|
|
27
26
|
"@babel/preset-env": "7.28.3",
|
|
28
27
|
"@babel/preset-react": "7.27.1",
|
|
29
28
|
"@babel/preset-typescript": "7.27.1",
|
|
@@ -47,5 +46,5 @@
|
|
|
47
46
|
"tslib": "*",
|
|
48
47
|
"typescript": ">=5.9.2"
|
|
49
48
|
},
|
|
50
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "a7b84b9b0d38578545e786740966ef88678be25d"
|
|
51
50
|
}
|