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

Commit

Permalink
perf(wxss): remove @charset "UTF-8"
Browse files Browse the repository at this point in the history
  • Loading branch information
NewFuture committed Sep 27, 2019
1 parent be8eb2a commit d6d290b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/compiler/compile-wxss.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ function compileScss(config, scssFile) {
}),
)
.on("error", error("wxss"))
.pipe(replace('@charset "UTF-8";', ''))
// .pipe(
// replace(/@import url\(["']?([\w\/\.\-\_]*)["']?\)/g, ($1, $2) => {
// return '@import "' + $2 + '"';
Expand Down

0 comments on commit d6d290b

Please sign in to comment.