kopia lustrzana https://github.com/wagtail/wagtail
Always set Sass output to expanded so CSS process is identical in dev and prod builds (#10347)
rodzic
72f77e4359
commit
78eb3d5844
|
@ -232,7 +232,17 @@ module.exports = function exports(env, argv) {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
'sass-loader',
|
{
|
||||||
|
loader: 'sass-loader',
|
||||||
|
options: {
|
||||||
|
sassOptions: {
|
||||||
|
// Manually set Sass output so it’s identical in production and development. See:
|
||||||
|
// https://github.com/tailwindlabs/tailwindcss/issues/11027
|
||||||
|
// https://github.com/webpack-contrib/sass-loader/issues/1129
|
||||||
|
outputStyle: 'expanded',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
].concat(
|
].concat(
|
||||||
|
|
Ładowanie…
Reference in New Issue