Skip to content

Commit

Permalink
add babel commonjs plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
maximemuldermcgill committed May 2, 2024
1 parent 8e9a61d commit 0975a9a
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 36 deletions.
3 changes: 2 additions & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ module.exports = function(api) {
{
"regenerator": true
}
]
],
"@babel/plugin-transform-modules-commonjs"
];
return {
presets,
Expand Down
79 changes: 44 additions & 35 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"@babel/cli": "^7.6.4",
"@babel/core": "^7.11.0",
"@babel/eslint-parser": "^7.19.1",
"@babel/plugin-transform-modules-commonjs": "^7.24.1",
"@babel/preset-env": "^7.9.6",
"@babel/preset-react": "^7.6.3",
"@types/c3": "^0.7.8",
Expand Down

0 comments on commit 0975a9a

Please # to comment.