mirror of
https://github.com/nasa/openmct.git
synced 2024-12-20 05:37:53 +00:00
Fix mojibake (#7073) Add charset preamble to generated css
This commit is contained in:
parent
28e4453218
commit
af4ef8c0ba
@ -110,6 +110,12 @@ const config = {
|
||||
new MiniCssExtractPlugin({
|
||||
filename: '[name].css',
|
||||
chunkFilename: '[name].css'
|
||||
}),
|
||||
// Add a UTF-8 BOM to CSS output to avoid random mojibake
|
||||
new webpack.BannerPlugin({
|
||||
test: /.*Theme\.css$/,
|
||||
raw: true,
|
||||
banner: '@charset "UTF-8";',
|
||||
})
|
||||
],
|
||||
module: {
|
||||
|
Loading…
Reference in New Issue
Block a user