Skip to content

Commit

Permalink
Enable color
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Dec 4, 2022
1 parent ae626c5 commit 7bd305a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/next-swc/crates/napi/src/transform.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ impl Task for TransformTask {
try_with_handler(
self.c.cm.clone(),
swc_core::base::HandlerOpts {
color: ColorConfig::Never,
color: ColorConfig::Always,
skip_filename: true,
},
|handler| {
Expand Down
2 changes: 1 addition & 1 deletion packages/next-swc/crates/wasm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ pub fn transform_sync(s: JsValue, opts: JsValue) -> Result<JsValue, JsValue> {
let out = try_with_handler(
c.cm.clone(),
swc_core::base::HandlerOpts {
color: ColorConfig::Never,
color: ColorConfig::Always,
skip_filename: false,
},
|handler| {
Expand Down

0 comments on commit 7bd305a

Please sign in to comment.