Skip to content

Commit

Permalink
Add @babel/plugin-transform-modules-commonjs
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Härtl <jus@bitgrid.net>
  • Loading branch information
juliusknorr committed Dec 22, 2020
1 parent 6260bc7 commit 009821b
Show file tree
Hide file tree
Showing 3 changed files with 252 additions and 19 deletions.
1 change: 1 addition & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ module.exports = {
'@babel/plugin-syntax-dynamic-import',
'@babel/plugin-transform-classes',
['@babel/plugin-proposal-class-properties', { loose: true }],
'@babel/plugin-transform-modules-commonjs'
],
presets: [
[
Expand Down
Loading

0 comments on commit 009821b

Please sign in to comment.