Skip to content

Commit

Permalink
feat: babel import assertions plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
AyAyEm committed Nov 26, 2022
1 parent e94c051 commit d7b7224
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@ module.exports = {
modules: true,
},
babelOptions: {
plugins: ['@babel/plugin-proposal-class-properties', '@babel/plugin-proposal-private-methods'],
plugins: [
'@babel/plugin-proposal-class-properties',
'@babel/plugin-proposal-private-methods',
'@babel/plugin-syntax-import-assertions',
],
},
},
};
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"@babel/eslint-parser": "^7.19.1",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-private-methods": "^7.18.6",
"@babel/plugin-syntax-import-assertions": "^7.20.0",
"@babel/preset-env": "^7.19.1",
"@typescript-eslint/eslint-plugin": "^5.38.0",
"@typescript-eslint/parser": "^5.38.0",
Expand Down

0 comments on commit d7b7224

Please sign in to comment.