mirror of
https://github.com/strapi/strapi.git
synced 2025-09-15 19:39:06 +00:00
Merge pull request #16225 from strapi/fix/webpack-main-fields
This commit is contained in:
commit
8597019f87
@ -221,7 +221,7 @@ module.exports = ({
|
||||
alias,
|
||||
symlinks: false,
|
||||
extensions: ['.js', '.jsx', '.react.js', '.ts', '.tsx'],
|
||||
mainFields: ['browser', 'jsnext:main', 'main'],
|
||||
mainFields: ['browser', 'module', 'jsnext:main', 'main'],
|
||||
modules: ['node_modules', path.resolve(__dirname, 'node_modules')],
|
||||
},
|
||||
plugins: [
|
||||
|
Loading…
x
Reference in New Issue
Block a user