Skip to content

Commit

Permalink
Add .jsx and .tsx to resolve.extensions (#2862)
Browse files Browse the repository at this point in the history
These extensions are currently matched by the default rules for
babel-loader
  • Loading branch information
rossta authored Jan 13, 2021
1 parent 01cf913 commit 45cc2a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/environments/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ module.exports = {
},
entry: getEntryObject(),
resolve: {
extensions: ['.js', '.mjs', '.ts', '.coffee'],
extensions: ['.js', '.jsx', '.mjs', '.ts', '.tsx', '.coffee'],
modules: getModulePaths(),
plugins: [PnpWebpackPlugin]
},
Expand Down

0 comments on commit 45cc2a2

Please sign in to comment.