Skip to content

Commit c28e54d

Browse files
committed
Set in turbopack runtime
1 parent 204547b commit c28e54d

File tree

1 file changed

+2
-0
lines changed
  • turbopack/crates/turbopack-ecmascript-runtime/js/src/nodejs

1 file changed

+2
-0
lines changed

turbopack/crates/turbopack-ecmascript-runtime/js/src/nodejs/runtime.ts

+2
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ type SourceInfo =
2727
parentId: ModuleId;
2828
};
2929

30+
process.env.TURBOPACK = '1';
31+
3032
function stringifySourceInfo(source: SourceInfo): string {
3133
switch (source.type) {
3234
case SourceType.Runtime:

0 commit comments

Comments
 (0)