Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

Commit d6d290b

Browse files
committed
perf(wxss): remove @charset "UTF-8"
1 parent be8eb2a commit d6d290b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/compiler/compile-wxss.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ function compileScss(config, scssFile) {
6161
}),
6262
)
6363
.on("error", error("wxss"))
64+
.pipe(replace('@charset "UTF-8";', ''))
6465
// .pipe(
6566
// replace(/@import url\(["']?([\w\/\.\-\_]*)["']?\)/g, ($1, $2) => {
6667
// return '@import "' + $2 + '"';

0 commit comments

Comments
 (0)