Skip to content

Commit 7a16887

Browse files
josephfrazierslevithan
authored andcommitted
Polyfill Symbol with @babel/plugin-transform-runtime
This should fix slevithan#254 See https://babeljs.io/docs/en/babel-plugin-transform-runtime
1 parent 8aa7ec0 commit 7a16887

File tree

3 files changed

+76
-10
lines changed

3 files changed

+76
-10
lines changed

.babelrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"plugins": [
3+
"@babel/plugin-transform-runtime",
34
"add-module-exports",
45
"transform-xregexp",
56
"array-includes"

package-lock.json

Lines changed: 71 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
"devDependencies": {
3838
"@babel/cli": "^7.0.0-beta.47",
3939
"@babel/core": "^7.0.0-beta.47",
40+
"@babel/plugin-transform-runtime": "^7.0.0-beta.53",
4041
"@babel/preset-env": "^7.0.0-beta.47",
4142
"babel-plugin-add-module-exports": "^0.2.1",
4243
"babel-plugin-array-includes": "^2.0.3",
@@ -48,5 +49,8 @@
4849
"unicode-11.0.0": "^0.7.7",
4950
"unicode-property-value-aliases": "^3.0.0",
5051
"zuul": "^3.11.1"
52+
},
53+
"dependencies": {
54+
"@babel/runtime": "^7.0.0-beta.53"
5155
}
5256
}

0 commit comments

Comments
 (0)