Skip to content

Commit

Permalink
fix(webpack): resolve .wasm extension with lower priority (#10676)
Browse files Browse the repository at this point in the history
  • Loading branch information
nieyuyao committed Sep 3, 2022
1 parent 2dee162 commit dd3ed75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/webpack/src/config/base.js
Expand Up @@ -239,7 +239,7 @@ export default class WebpackBaseConfig {

return {
resolve: {
extensions: ['.wasm', '.mjs', '.cjs', '.js', '.json', '.vue', '.jsx'],
extensions: ['.mjs', '.cjs', '.js', '.json', '.vue', '.jsx', '.wasm'],
alias: this.alias(),
modules: webpackModulesDir,
plugins: resolvePlugins
Expand Down

0 comments on commit dd3ed75

Please sign in to comment.