Skip to content

Commit

Permalink
fix: update resolve extension
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaofan2406 committed Jul 2, 2024
1 parent 6e4a9d3 commit 272de9f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,7 @@ module.exports = {
react: {
version: 'detect',
},
'import/resolver': {
node: {
extensions: ['.ts', '.tsx', '.js', '.jsx', '.mjs'],
},
},
'import/extensions': ['.ts', '.tsx', '.js', '.jsx', '.mjs', '.cjs'],
},

plugins: [
Expand Down

0 comments on commit 272de9f

Please sign in to comment.