Webpack: Add relative node_modules path (#22806)

This commit is contained in:
Andrej Ocenas 2020-03-16 15:44:23 +01:00 committed by GitHub
parent f345d7f6a3
commit c64182d579
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,7 +30,7 @@ module.exports = {
// this alias maps that dependency to core-js@t3
'core-js/library/fn': 'core-js/stable',
},
modules: [path.resolve('public'), path.resolve('node_modules')],
modules: [path.resolve('public'), 'node_modules'],
},
stats: {
children: false,