@nebula.js/cli-build 6.0.0-alpha.5 → 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 +4 -2
- package/package.json +2 -2
package/lib/config.js
CHANGED
|
@@ -11,6 +11,8 @@ 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
13
|
const browsersList = require('@qlik/browserslist-config');
|
|
14
|
+
const babelPresetReact = require('@babel/preset-react');
|
|
15
|
+
const babelPresetTypescript = require('@babel/preset-typescript');
|
|
14
16
|
|
|
15
17
|
const resolveNative = require('./resolveNative');
|
|
16
18
|
|
|
@@ -151,12 +153,12 @@ const config = ({
|
|
|
151
153
|
},
|
|
152
154
|
},
|
|
153
155
|
],
|
|
154
|
-
[
|
|
156
|
+
[babelPresetReact],
|
|
155
157
|
];
|
|
156
158
|
|
|
157
159
|
if (typescript) {
|
|
158
160
|
babelPresets.push([
|
|
159
|
-
|
|
161
|
+
babelPresetTypescript,
|
|
160
162
|
{
|
|
161
163
|
allowNamespaces: true,
|
|
162
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",
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"tslib": "*",
|
|
48
48
|
"typescript": ">=5.9.2"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "8ab5416e640bf65709bda8298aec71be9ec57b71"
|
|
51
51
|
}
|