@nebula.js/cli-build 4.5.0-alpha.0 → 4.5.0
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 +7 -0
- package/package.json +9 -9
package/lib/config.js
CHANGED
|
@@ -115,6 +115,13 @@ const config = ({
|
|
|
115
115
|
|
|
116
116
|
return {
|
|
117
117
|
input: {
|
|
118
|
+
onwarn(warning, warn) {
|
|
119
|
+
// Supress "use client" warnings coming from MUI bundling
|
|
120
|
+
if (warning.code === 'MODULE_LEVEL_DIRECTIVE' && warning.message.includes(`"use client"`)) {
|
|
121
|
+
return;
|
|
122
|
+
}
|
|
123
|
+
warn(warning);
|
|
124
|
+
},
|
|
118
125
|
input: path.resolve(CWD, 'src/index'),
|
|
119
126
|
external,
|
|
120
127
|
plugins: [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nebula.js/cli-build",
|
|
3
|
-
"version": "4.5.0
|
|
3
|
+
"version": "4.5.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "QlikTech International AB",
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
"lint": "eslint src"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@babel/cli": "7.
|
|
25
|
-
"@babel/core": "7.
|
|
26
|
-
"@babel/plugin-transform-react-jsx": "7.22.
|
|
27
|
-
"@babel/preset-env": "7.22.
|
|
24
|
+
"@babel/cli": "7.23.0",
|
|
25
|
+
"@babel/core": "7.23.0",
|
|
26
|
+
"@babel/plugin-transform-react-jsx": "7.22.15",
|
|
27
|
+
"@babel/preset-env": "7.22.20",
|
|
28
28
|
"@rollup/plugin-babel": "6.0.3",
|
|
29
29
|
"@rollup/plugin-commonjs": "25.0.4",
|
|
30
30
|
"@rollup/plugin-json": "6.0.0",
|
|
@@ -33,16 +33,16 @@
|
|
|
33
33
|
"@rollup/plugin-terser": "0.4.3",
|
|
34
34
|
"chalk": "4.1.2",
|
|
35
35
|
"extend": "3.0.2",
|
|
36
|
-
"postcss": "^8.4.
|
|
37
|
-
"rollup": "3.
|
|
36
|
+
"postcss": "^8.4.31",
|
|
37
|
+
"rollup": "3.29.4",
|
|
38
38
|
"rollup-plugin-postcss": "4.0.2",
|
|
39
39
|
"rollup-plugin-sourcemaps": "0.6.3",
|
|
40
40
|
"yargs": "17.7.2"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@rollup/plugin-typescript": "11.1.
|
|
43
|
+
"@rollup/plugin-typescript": "11.1.4",
|
|
44
44
|
"tslib": "*",
|
|
45
45
|
"typescript": ">=5.2.2"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "95bbc29811d5832e3cdd7ae65c5679e78068ba4b"
|
|
48
48
|
}
|