@kaliber/build 0.0.149 → 0.0.150
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/build.js +1 -0
- package/lib/polyfill.js +2 -2
- package/package.json +2 -1
package/lib/build.js
CHANGED
package/lib/polyfill.js
CHANGED
@@ -2,7 +2,7 @@ const isProduction = process.env.NODE_ENV === 'production'
|
|
2
2
|
|
3
3
|
export default function polyfill(features = []) {
|
4
4
|
const src = isProduction
|
5
|
-
? `https://
|
6
|
-
: `https://
|
5
|
+
? `https://polyfill-fastly.io/v3/polyfill.min.js?features=${features.join(',')}&flags=gated&rum=0&unknown=polyfill`
|
6
|
+
: `https://polyfill-fastly.io/v3/polyfill.js?features=${features.join(',')}&flags=gated&rum=0&unknown=polyfill`
|
7
7
|
return <script src={src} crossOrigin="anonymous" />
|
8
8
|
}
|
package/package.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
|
-
"version": "0.0.
|
2
|
+
"version": "0.0.150",
|
3
3
|
"name": "@kaliber/build",
|
4
4
|
"description": "Zero configuration, opinionated webpack / react build setup",
|
5
5
|
"scripts": {
|
@@ -24,6 +24,7 @@
|
|
24
24
|
"@babel/plugin-proposal-object-rest-spread": "^7.19.4",
|
25
25
|
"@babel/plugin-proposal-optional-chaining": "^7.18.9",
|
26
26
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
27
|
+
"@babel/plugin-transform-logical-assignment-operators": "^7.24.1",
|
27
28
|
"@babel/plugin-transform-named-capturing-groups-regex": "^7.19.1",
|
28
29
|
"@babel/plugin-transform-template-literals": "^7.18.9",
|
29
30
|
"@babel/preset-react": "^7.16.7",
|