mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-30 23:32:38 +00:00
css-loader: Don't use root to allow absolute path
This commit is contained in:
parent
88f98fb61d
commit
d7a6761054
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user