Skip to content

Commit 4aa6d51

Browse files
authored
Added possibility to have custom config location for swc (#870)
1 parent 7fae724 commit 4aa6d51

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/register/register.ts

+1
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ export function compile(
9797
swcRegisterConfig = {
9898
swc: {
9999
swcrc: true,
100+
configFile: process.env.SWC_CONFIG_FILE
100101
},
101102
}
102103
} else {

0 commit comments

Comments
 (0)