Skip to content
This repository was archived by the owner on May 23, 2025. It is now read-only.

Commit 7c2f6de

Browse files
author
Robin Löffel
committed
fix(estatico-webpack): add core-js as peer dep, update @babel deps
1 parent a0bbd57 commit 7c2f6de

File tree

2 files changed

+12
-14
lines changed

2 files changed

+12
-14
lines changed

packages/estatico-webpack/.babelrc.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,4 @@ module.exports = {
1818
debug: (env.L && env.L.length > 3),
1919
}],
2020
],
21-
plugins: [
22-
// Allow parsing of import()
23-
'@babel/plugin-syntax-dynamic-import',
24-
],
2521
};
Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@unic/estatico-webpack",
3-
"version": "0.0.21",
3+
"version": "0.0.22",
44
"description": "",
55
"main": "index.js",
66
"scripts": {
@@ -11,12 +11,11 @@
1111
"repository": "https://github.com/unic/estatico-nou/tree/master/packages/estatico-webpack",
1212
"license": "Apache-2.0",
1313
"dependencies": {
14-
"@babel/core": "^7.1.2",
15-
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
16-
"@babel/polyfill": "^7.0.0",
17-
"@babel/preset-env": "^7.1.0",
14+
"@babel/core": "^7.12.10",
15+
"@babel/polyfill": "^7.12.1",
16+
"@babel/preset-env": "^7.12.11",
1817
"@unic/estatico-utils": "0.0.10",
19-
"babel-loader": "^8.0.4",
18+
"babel-loader": "^8.2.2",
2019
"chalk": "^2.4.1",
2120
"core-js": "^3.8.2",
2221
"expose-loader": "^0.7.5",
@@ -31,14 +30,17 @@
3130
"webpack-modernizr-loader": "^4.0.1",
3231
"yargs": "^12.0.2"
3332
},
33+
"devDependencies": {
34+
"ava": "^0.25.0",
35+
"del": "^3.0.0"
36+
},
37+
"peerDependencies": {
38+
"core-js": "^3.8.3"
39+
},
3440
"engines": {
3541
"node": ">=8"
3642
},
3743
"publishConfig": {
3844
"access": "public"
39-
},
40-
"devDependencies": {
41-
"ava": "^0.25.0",
42-
"del": "^3.0.0"
4345
}
4446
}

0 commit comments

Comments
 (0)