@nebula.js/cli-build 6.0.0-alpha.4 → 6.0.0-alpha.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/lib/config.js +6 -3
- package/package.json +5 -2
package/lib/config.js
CHANGED
|
@@ -10,6 +10,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
12
|
const { visualizer } = require('rollup-plugin-visualizer');
|
|
13
|
+
const browsersList = require('@qlik/browserslist-config');
|
|
14
|
+
const babelPresetReact = require('@babel/preset-react');
|
|
15
|
+
const babelPresetTypescript = require('@babel/preset-typescript');
|
|
13
16
|
|
|
14
17
|
const resolveNative = require('./resolveNative');
|
|
15
18
|
|
|
@@ -146,16 +149,16 @@ const config = ({
|
|
|
146
149
|
{
|
|
147
150
|
modules: false,
|
|
148
151
|
targets: {
|
|
149
|
-
browsers:
|
|
152
|
+
browsers: browsersList,
|
|
150
153
|
},
|
|
151
154
|
},
|
|
152
155
|
],
|
|
153
|
-
[
|
|
156
|
+
[babelPresetReact],
|
|
154
157
|
];
|
|
155
158
|
|
|
156
159
|
if (typescript) {
|
|
157
160
|
babelPresets.push([
|
|
158
|
-
|
|
161
|
+
babelPresetTypescript,
|
|
159
162
|
{
|
|
160
163
|
allowNamespaces: true,
|
|
161
164
|
allowDeclareFields: true,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nebula.js/cli-build",
|
|
3
|
-
"version": "6.0.0-alpha.
|
|
3
|
+
"version": "6.0.0-alpha.6",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "QlikTech International AB",
|
|
@@ -25,6 +25,9 @@
|
|
|
25
25
|
"@babel/core": "7.28.4",
|
|
26
26
|
"@babel/plugin-transform-react-jsx": "7.27.1",
|
|
27
27
|
"@babel/preset-env": "7.28.3",
|
|
28
|
+
"@babel/preset-react": "7.27.1",
|
|
29
|
+
"@babel/preset-typescript": "7.27.1",
|
|
30
|
+
"@qlik/browserslist-config": "^3.0.0",
|
|
28
31
|
"@rollup/plugin-babel": "6.0.4",
|
|
29
32
|
"@rollup/plugin-commonjs": "28.0.6",
|
|
30
33
|
"@rollup/plugin-json": "6.1.0",
|
|
@@ -44,5 +47,5 @@
|
|
|
44
47
|
"tslib": "*",
|
|
45
48
|
"typescript": ">=5.9.2"
|
|
46
49
|
},
|
|
47
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "8ab5416e640bf65709bda8298aec71be9ec57b71"
|
|
48
51
|
}
|