mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 23:22:02 +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: {
|
css: {
|
||||||
importLoaders: 0,
|
importLoaders: 0,
|
||||||
|
url: {
|
||||||
|
filter: (url: string, resourcePath: string) => !url.startsWith('/'),
|
||||||
|
},
|
||||||
esModule: false
|
esModule: false
|
||||||
},
|
},
|
||||||
cssModules: {
|
cssModules: {
|
||||||
importLoaders: 0,
|
importLoaders: 0,
|
||||||
|
url: {
|
||||||
|
filter: (url: string, resourcePath: string) => !url.startsWith('/'),
|
||||||
|
},
|
||||||
esModule: false,
|
esModule: false,
|
||||||
modules: {
|
modules: {
|
||||||
localIdentName: '[local]_[hash:base64:5]'
|
localIdentName: '[local]_[hash:base64:5]'
|
||||||
|
Loading…
Reference in New Issue
Block a user