From fb63356f102b3ad2c0500e56bcd3253831c16125 Mon Sep 17 00:00:00 2001 From: Carl Kittelberger Date: Sun, 22 Jul 2018 23:39:45 +0200 Subject: [PATCH] Use relative paths. --- webpack.config.babel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpack.config.babel.js b/webpack.config.babel.js index a6f9080..66f0d8b 100644 --- a/webpack.config.babel.js +++ b/webpack.config.babel.js @@ -103,7 +103,7 @@ export default (options, { mode }) => { .replace(/\[chunkhash(.*?)\]/g, '[id$1]') .replace(/\[ext(.*?)\]/g, 'css'); // const cssOutputRebasePath = `${slash(path.relative(path.dirname(cssOutputFileName), ''))}/`; - const cssOutputRebasePath = '/'; + const cssOutputRebasePath = '../../../'; // Default options for file-loader const getFileLoaderOptions = type => ({