Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
patricklx authored Apr 13, 2024
1 parent 8374d82 commit ca7fd51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ function buildPrecompileOptions<EnvSpecificOptions>(
config: ModuleConfig,
scope: ScopeLocals
): PreprocessOptions & Record<string, unknown> {
let jsutils = new JSUtils(babel, state, target, state.util);
let jsutils = new JSUtils(babel, state, target, scope, state.util);
let meta = Object.assign({ jsutils }, userTypedOptions?.meta);

let output: PreprocessOptions & Record<string, unknown> = {
Expand Down

0 comments on commit ca7fd51

Please sign in to comment.