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