-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(css): Call
swc_common::GLOBALS.set
in css minify (#44)
Currently errors generate in the minification process get obscured because of error in the error handling because of a missing global. I've added a call to `swc_common::GLOBALS.set(&swc_common::Globals::new(), || {` in `minify_inner` of `css_node/src/lib.rs` in the same way it's set in `html_node/src/lib.rs` I'm not sure, but suspect `linter_node` will need a similar change.
- Loading branch information
Showing
1 changed file
with
84 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters