Skip to content

Commit

Permalink
fix(config): Reinstate support for resolving .mjs files with Webpack (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
nwalters512 authored Jan 20, 2021
1 parent 758494a commit 17c46fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/makeWebpackConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ module.exports = async (playroomConfig, options) => {
publicPath: playroomConfig.baseUrl,
},
resolve: {
extensions: ['.tsx', '.ts', '.jsx', '.js', '.json'],
extensions: ['.mjs', '.tsx', '.ts', '.jsx', '.js', '.json'],
alias: {
__PLAYROOM_ALIAS__COMPONENTS__: relativeResolve(
playroomConfig.components
Expand Down

0 comments on commit 17c46fa

Please sign in to comment.