@kaliber/build 0.0.131 → 0.0.132-beta.0
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/build.js +2 -7
- package/package.json +2 -5
package/lib/build.js
CHANGED
@@ -68,18 +68,13 @@ const babelLoader = {
|
|
68
68
|
cacheDirectory: './.babelcache/',
|
69
69
|
cacheCompression: false,
|
70
70
|
babelrc: false, // this needs to be false, any other value will cause .babelrc to interfere with these settings
|
71
|
-
presets: [
|
71
|
+
presets: ['@babel/preset-react'],
|
72
72
|
plugins: [
|
73
73
|
'@babel/syntax-dynamic-import',
|
74
74
|
'@babel/syntax-optional-chaining',
|
75
75
|
['@babel/proposal-decorators', { legacy: true }],
|
76
76
|
'@babel/proposal-class-properties',
|
77
|
-
'@babel/proposal-
|
78
|
-
'@babel/transform-async-to-generator',
|
79
|
-
['@babel/transform-runtime', {
|
80
|
-
'helpers': false,
|
81
|
-
'regenerator': true
|
82
|
-
}]
|
77
|
+
'@babel/plugin-proposal-nullish-coalescing-operator',
|
83
78
|
]
|
84
79
|
}
|
85
80
|
}
|
package/package.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
|
-
"version": "0.0.
|
2
|
+
"version": "0.0.132-beta.0",
|
3
3
|
"name": "@kaliber/build",
|
4
4
|
"description": "Zero configuration, opinionated webpack / react build setup",
|
5
5
|
"scripts": {
|
@@ -19,14 +19,11 @@
|
|
19
19
|
"@babel/eslint-parser": "^7.16.5",
|
20
20
|
"@babel/plugin-proposal-class-properties": "^7.10.4",
|
21
21
|
"@babel/plugin-proposal-decorators": "^7.10.5",
|
22
|
+
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
|
22
23
|
"@babel/plugin-proposal-object-rest-spread": "^7.11.0",
|
23
24
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
24
25
|
"@babel/plugin-syntax-optional-chaining": "^7.8.3",
|
25
|
-
"@babel/plugin-transform-async-to-generator": "^7.10.4",
|
26
|
-
"@babel/plugin-transform-runtime": "^7.11.5",
|
27
|
-
"@babel/preset-env": "^7.11.5",
|
28
26
|
"@babel/preset-react": "^7.16.7",
|
29
|
-
"@babel/runtime": "^7.11.2",
|
30
27
|
"@kaliber/config": "^0.0.8",
|
31
28
|
"@kaliber/eslint-plugin": "*",
|
32
29
|
"@kaliber/safe-json-stringify": "^1.1.0",
|