Skip to content

Commit f3f8772

Browse files
committed
fix(bundler-vite): disable scss charset by default
1 parent 00c27c3 commit f3f8772

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/@vuepress/bundler-vite/src/plugins/createMainPlugin.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ import '@vuepress/client/app'
5252
postcss: {
5353
plugins: isServer ? [] : [require('autoprefixer')],
5454
},
55+
preprocessorOptions: {
56+
scss: { charset: false },
57+
},
5558
},
5659
server: {
5760
host: app.options.host,

0 commit comments

Comments
 (0)