From c64182d5798373571bd6eb49b53d077ea132c79e Mon Sep 17 00:00:00 2001 From: Andrej Ocenas Date: Mon, 16 Mar 2020 15:44:23 +0100 Subject: [PATCH] Webpack: Add relative node_modules path (#22806) --- scripts/webpack/webpack.common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/webpack/webpack.common.js b/scripts/webpack/webpack.common.js index e640c234248..d35c9be9ea8 100644 --- a/scripts/webpack/webpack.common.js +++ b/scripts/webpack/webpack.common.js @@ -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,