css-loader: Don't use root to allow absolute path

This commit is contained in:
Sebastien Chopin 2017-08-22 19:37:55 +02:00
parent 88f98fb61d
commit d7a6761054

View File

@ -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')