Skip to content

Commit

Permalink
Fix Babel+ESM
Browse files Browse the repository at this point in the history
Trying to fix dotansimha#9774
  • Loading branch information
nikitalocalhost committed Jan 13, 2024
1 parent eaa3d60 commit 4a5743d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/presets/client/src/babel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export default declare<ClientBabelPresetOptions>((api, opts): PluginObj => {

const importPath = getRelativeImportPath(state, artifactDirectory);

const importDeclaration = template(`
const importDeclaration = template.smart(`
import { %%importName%% } from %%importPath%%
`);
program.unshiftContainer(
Expand Down

0 comments on commit 4a5743d

Please sign in to comment.