@kaliber/build 0.0.134 → 0.0.135-beta.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/lib/build.js +9 -10
  2. package/package.json +7 -7
package/lib/build.js CHANGED
@@ -68,18 +68,17 @@ 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: [['@babel/preset-env', { modules: false }], '@babel/preset-react'],
71
+ presets: ['@babel/preset-react'],
72
72
  plugins: [
73
+ ['@babel/plugin-proposal-decorators', { legacy: true }],
74
+ ['@babel/plugin-proposal-class-properties', { loose: true }],
75
+ '@babel/plugin-proposal-export-namespace-from',
76
+ '@babel/plugin-proposal-nullish-coalescing-operator',
77
+ '@babel/plugin-proposal-object-rest-spread',
78
+ '@babel/plugin-proposal-optional-chaining',
73
79
  '@babel/syntax-dynamic-import',
74
- '@babel/syntax-optional-chaining',
75
- ['@babel/proposal-decorators', { legacy: true }],
76
- '@babel/proposal-class-properties',
77
- '@babel/proposal-object-rest-spread',
78
- '@babel/transform-async-to-generator',
79
- ['@babel/transform-runtime', {
80
- 'helpers': false,
81
- 'regenerator': true
82
- }]
80
+ '@babel/plugin-transform-named-capturing-groups-regex',
81
+ '@babel/plugin-transform-template-literals',
83
82
  ]
84
83
  }
85
84
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.0.134",
2
+ "version": "0.0.135-beta.0",
3
3
  "name": "@kaliber/build",
4
4
  "description": "Zero configuration, opinionated webpack / react build setup",
5
5
  "scripts": {
@@ -19,14 +19,14 @@
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-object-rest-spread": "^7.11.0",
22
+ "@babel/plugin-proposal-export-namespace-from": "^7.18.9",
23
+ "@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
24
+ "@babel/plugin-proposal-object-rest-spread": "^7.19.4",
25
+ "@babel/plugin-proposal-optional-chaining": "^7.18.9",
23
26
  "@babel/plugin-syntax-dynamic-import": "^7.8.3",
24
- "@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",
27
+ "@babel/plugin-transform-named-capturing-groups-regex": "^7.19.1",
28
+ "@babel/plugin-transform-template-literals": "^7.18.9",
28
29
  "@babel/preset-react": "^7.16.7",
29
- "@babel/runtime": "^7.11.2",
30
30
  "@kaliber/config": "^0.0.8",
31
31
  "@kaliber/eslint-plugin": "*",
32
32
  "@kaliber/safe-json-stringify": "^1.1.0",