diff --git a/client/webpack.config.js b/client/webpack.config.js index 1a0dfe51ab..4462125180 100644 --- a/client/webpack.config.js +++ b/client/webpack.config.js @@ -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(