Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve dynamic reexporting #5452

Merged
merged 7 commits into from
Jul 4, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix build runtime
sokra committed Jul 4, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 4fc9837ce787084c73d668143529fbe9781c8be3
4 changes: 2 additions & 2 deletions crates/turbopack-ecmascript-runtime/js/src/build/runtime.ts
Original file line number Diff line number Diff line change
@@ -37,7 +37,7 @@ interface TurbopackNodeBuildContext {
f: RequireContextFactory;
i: EsmImport;
s: EsmExport;
j: typeof cjsExport;
j: typeof dynamicExport;
v: ExportValue;
n: typeof exportNamespace;
m: Module;
@@ -182,7 +182,7 @@ function instantiateModule(id: ModuleId, source: SourceInfo): Module {
f: requireContext.bind(null, module),
i: esmImport.bind(null, module),
s: esm.bind(null, module.exports),
j: cjsExport.bind(null, module.exports),
j: dynamicExport.bind(null, module),
v: exportValue.bind(null, module),
n: exportNamespace.bind(null, module),
m: module,