mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 15:15:19 +00:00
fix(webpack): support absolute urls in webpack css url/import (#3743)
This commit is contained in:
parent
0760fffe6c
commit
6342e823a1
@ -163,10 +163,16 @@ export default {
|
||||
},
|
||||
css: {
|
||||
importLoaders: 0,
|
||||
url: {
|
||||
filter: (url: string, resourcePath: string) => !url.startsWith('/'),
|
||||
},
|
||||
esModule: false
|
||||
},
|
||||
cssModules: {
|
||||
importLoaders: 0,
|
||||
url: {
|
||||
filter: (url: string, resourcePath: string) => !url.startsWith('/'),
|
||||
},
|
||||
esModule: false,
|
||||
modules: {
|
||||
localIdentName: '[local]_[hash:base64:5]'
|
||||
|
Loading…
Reference in New Issue
Block a user