summaryrefslogtreecommitdiffstats
path: root/webpack.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'webpack.config.js')
-rw-r--r--webpack.config.js10
1 files changed, 4 insertions, 6 deletions
diff --git a/webpack.config.js b/webpack.config.js
index 9b27bb55ac..1839cf11eb 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -137,8 +137,8 @@ export default {
loader: 'css-loader',
options: {
sourceMap: true,
- url: filterCssImport,
- import: filterCssImport,
+ url: {filter: filterCssImport},
+ import: {filter: filterCssImport},
},
},
],
@@ -154,8 +154,8 @@ export default {
options: {
sourceMap: true,
importLoaders: 1,
- url: filterCssImport,
- import: filterCssImport,
+ url: {filter: filterCssImport},
+ import: {filter: filterCssImport},
},
},
{
@@ -176,7 +176,6 @@ export default {
type: 'asset/resource',
generator: {
filename: 'fonts/[name][ext]',
- publicPath: '../', // required to remove css/ path segment
}
},
{
@@ -184,7 +183,6 @@ export default {
type: 'asset/resource',
generator: {
filename: 'img/webpack/[name][ext]',
- publicPath: '../', // required to remove css/ path segment
}
},
],