Skip to content

Commit c0eae16

Browse files
Adding webpack plugins 🎉🎉
1 parent 4c2c44f commit c0eae16

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed

.babelrc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,13 @@
88
}
99
],
1010
"@babel/preset-typescript"
11+
],
12+
"plugins": [
13+
[
14+
"@babel/plugin-transform-runtime",
15+
{
16+
"regenerator": true
17+
}
18+
]
1119
]
1220
}

package-lock.json

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

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,11 @@
2323
},
2424
"devDependencies": {
2525
"@babel/core": "^7.13.16",
26+
"@babel/plugin-transform-runtime": "^7.13.15",
2627
"@babel/preset-env": "^7.13.15",
2728
"@babel/preset-react": "^7.13.13",
2829
"@babel/preset-typescript": "^7.13.0",
30+
"@babel/runtime": "^7.13.17",
2931
"@pmmmwh/react-refresh-webpack-plugin": "^0.4.3",
3032
"@types/react": "^17.0.4",
3133
"@types/react-dom": "^17.0.3",

0 commit comments

Comments
 (0)