Signed-off-by: soupette <cyril@strapi.io>
This commit is contained in:
soupette 2022-01-04 15:30:17 +01:00
parent 295b72243c
commit d4ad998055
2 changed files with 1 additions and 2 deletions

View File

@ -7,8 +7,6 @@ const alias = [
'whatwg-fetch', 'whatwg-fetch',
'@fortawesome/fontawesome-svg-core', '@fortawesome/fontawesome-svg-core',
'@fortawesome/free-solid-svg-icons', '@fortawesome/free-solid-svg-icons',
'@strapi/design-system',
'@strapi/icons',
'history', 'history',
'hoist-non-react-statics', 'hoist-non-react-statics',
'immer', 'immer',

View File

@ -173,6 +173,7 @@ module.exports = ({
symlinks: false, symlinks: false,
extensions: ['.js', '.jsx', '.react.js'], extensions: ['.js', '.jsx', '.react.js'],
mainFields: ['browser', 'jsnext:main', 'main'], mainFields: ['browser', 'jsnext:main', 'main'],
modules: ['node_modules', path.resolve(__dirname, 'node_modules')],
}, },
plugins: [ plugins: [
new HtmlWebpackPlugin({ new HtmlWebpackPlugin({