mirror of
https://github.com/strapi/strapi.git
synced 2025-09-16 03:48:22 +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,
|
alias,
|
||||||
symlinks: false,
|
symlinks: false,
|
||||||
extensions: ['.js', '.jsx', '.react.js', '.ts', '.tsx'],
|
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')],
|
modules: ['node_modules', path.resolve(__dirname, 'node_modules')],
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user