From d7a676105457d64b474e3590eea0dcbb21d0510c Mon Sep 17 00:00:00 2001 From: Sebastien Chopin Date: Tue, 22 Aug 2017 19:37:55 +0200 Subject: [PATCH] css-loader: Don't use root to allow absolute path --- lib/builder/webpack/style-loader.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/builder/webpack/style-loader.js b/lib/builder/webpack/style-loader.js index ec1b25607e..2c4c41ff7e 100755 --- a/lib/builder/webpack/style-loader.js +++ b/lib/builder/webpack/style-loader.js @@ -35,7 +35,6 @@ export default function styleLoader (ext, loaders = [], isVueLoader = false) { minimize: true, importLoaders: 1, sourceMap: this.options.build.cssSourceMap, - root: '~', // https://github.com/webpack/loader-utils#root-relative-urls alias: { '/static': join(this.options.srcDir, 'static'), '/assets': join(this.options.srcDir, 'assets')