Skip to content

Commit 6a8d615

Browse files
committed
chore(example): update "minimal" example
1 parent cd88c50 commit 6a8d615

File tree

3 files changed

+400
-461
lines changed

3 files changed

+400
-461
lines changed

examples/minimal/.babelrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"presets": [
66
["@babel/preset-env", {
77
"useBuiltIns": "usage",
8+
"corejs": 3,
89
"targets": {
910
// https://jamie.build/last-2-versions
1011
"browsers": ["> 0.25%", "not ie 11", "not op_mini all"]

examples/minimal/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,12 @@
1818
"@babel/core": "^7.1.2",
1919
"@babel/plugin-proposal-optional-chaining": "^7.0.0",
2020
"@babel/preset-env": "^7.1.0",
21+
"@babel/runtime-corejs3": "^7.4.0",
2122
"@types/chrome": "^0.0.74",
2223
"archiver": "^3.0.0",
2324
"babel-loader": "^8.0.2",
2425
"copy-webpack-plugin": "^4.5.3",
25-
"core-js": "^2.6.5",
26+
"core-js": "^3.0.1",
2627
"cross-env": "^5.2.0",
2728
"css-loader": "^0.28.11",
2829
"ejs": "^2.6.1",

0 commit comments

Comments
 (0)