mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-30 09:27:13 +00:00
fix(config): compile type compatibility in css-loader v4 (#9014)
This commit is contained in:
parent
21a928f19f
commit
89e8fe07b8
@ -135,6 +135,9 @@ exports[`webpack nuxt webpack module.rules 1`] = `
|
||||
\\"options\\": Object {
|
||||
\\"esModule\\": false,
|
||||
\\"importLoaders\\": 2,
|
||||
\\"modules\\": Object {
|
||||
\\"compileType\\": \\"icss\\",
|
||||
},
|
||||
\\"sourceMap\\": false,
|
||||
\\"url\\": [Function isUrlResolvingEnabled],
|
||||
},
|
||||
@ -208,6 +211,9 @@ exports[`webpack nuxt webpack module.rules 1`] = `
|
||||
\\"options\\": Object {
|
||||
\\"esModule\\": false,
|
||||
\\"importLoaders\\": 2,
|
||||
\\"modules\\": Object {
|
||||
\\"compileType\\": \\"icss\\",
|
||||
},
|
||||
\\"sourceMap\\": false,
|
||||
\\"url\\": [Function isUrlResolvingEnabled],
|
||||
},
|
||||
@ -287,6 +293,9 @@ exports[`webpack nuxt webpack module.rules 1`] = `
|
||||
\\"options\\": Object {
|
||||
\\"esModule\\": false,
|
||||
\\"importLoaders\\": 2,
|
||||
\\"modules\\": Object {
|
||||
\\"compileType\\": \\"icss\\",
|
||||
},
|
||||
\\"sourceMap\\": false,
|
||||
\\"url\\": [Function isUrlResolvingEnabled],
|
||||
},
|
||||
@ -375,6 +384,9 @@ exports[`webpack nuxt webpack module.rules 1`] = `
|
||||
\\"options\\": Object {
|
||||
\\"esModule\\": false,
|
||||
\\"importLoaders\\": 2,
|
||||
\\"modules\\": Object {
|
||||
\\"compileType\\": \\"icss\\",
|
||||
},
|
||||
\\"sourceMap\\": false,
|
||||
\\"url\\": [Function isUrlResolvingEnabled],
|
||||
},
|
||||
@ -463,6 +475,9 @@ exports[`webpack nuxt webpack module.rules 1`] = `
|
||||
\\"options\\": Object {
|
||||
\\"esModule\\": false,
|
||||
\\"importLoaders\\": 2,
|
||||
\\"modules\\": Object {
|
||||
\\"compileType\\": \\"icss\\",
|
||||
},
|
||||
\\"sourceMap\\": false,
|
||||
\\"url\\": [Function isUrlResolvingEnabled],
|
||||
},
|
||||
@ -548,6 +563,9 @@ exports[`webpack nuxt webpack module.rules 1`] = `
|
||||
\\"options\\": Object {
|
||||
\\"esModule\\": false,
|
||||
\\"importLoaders\\": 2,
|
||||
\\"modules\\": Object {
|
||||
\\"compileType\\": \\"icss\\",
|
||||
},
|
||||
\\"sourceMap\\": false,
|
||||
\\"url\\": [Function isUrlResolvingEnabled],
|
||||
},
|
||||
|
@ -34,7 +34,12 @@ export default () => ({
|
||||
embed: 'src'
|
||||
}
|
||||
},
|
||||
css: { esModule: false },
|
||||
css: {
|
||||
esModule: false,
|
||||
modules: {
|
||||
compileType: 'icss'
|
||||
}
|
||||
},
|
||||
cssModules: {
|
||||
esModule: false,
|
||||
modules: {
|
||||
|
@ -71,6 +71,9 @@ Object {
|
||||
"loaders": Object {
|
||||
"css": Object {
|
||||
"esModule": false,
|
||||
"modules": Object {
|
||||
"compileType": "icss",
|
||||
},
|
||||
"sourceMap": false,
|
||||
},
|
||||
"cssModules": Object {
|
||||
|
@ -55,6 +55,9 @@ Object {
|
||||
"loaders": Object {
|
||||
"css": Object {
|
||||
"esModule": false,
|
||||
"modules": Object {
|
||||
"compileType": "icss",
|
||||
},
|
||||
},
|
||||
"cssModules": Object {
|
||||
"esModule": false,
|
||||
@ -441,6 +444,9 @@ Object {
|
||||
"loaders": Object {
|
||||
"css": Object {
|
||||
"esModule": false,
|
||||
"modules": Object {
|
||||
"compileType": "icss",
|
||||
},
|
||||
},
|
||||
"cssModules": Object {
|
||||
"esModule": false,
|
||||
|
Loading…
Reference in New Issue
Block a user