Skip to content

Commit

Permalink
Add extensions to imports
Browse files Browse the repository at this point in the history
  • Loading branch information
michaldudak committed Oct 18, 2024
1 parent c4c1a7e commit d976136
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
1 change: 1 addition & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ module.exports = function getBabelConfig(api) {
mode: 'unsafe-wrap',
},
],
'babel-plugin-add-import-extension',
];

if (process.env.NODE_ENV === 'production') {
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@
"@typescript-eslint/eslint-plugin": "^7.8.0",
"@typescript-eslint/parser": "^7.8.0",
"babel-loader": "^9.2.1",
"babel-plugin-add-import-extension": "^1.6.0",
"babel-plugin-istanbul": "^6.1.1",
"babel-plugin-macros": "^3.1.0",
"babel-plugin-module-resolver": "^5.0.2",
Expand Down
14 changes: 13 additions & 1 deletion pnpm-lock.yaml

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

0 comments on commit d976136

Please sign in to comment.