Skip to content

Commit

Permalink
Rename runtime/none to runtime/edge
Browse files Browse the repository at this point in the history
  • Loading branch information
timneutkens committed Jun 10, 2024
1 parent 2967568 commit e578ec4
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/turbopack-ecmascript-runtime/js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"check:dev-runtime-base": "tsc -p src/dev/runtime/base",
"check:dev-runtime-dom": "tsc -p src/dev/runtime/dom",
"check:dev-runtime-nodejs": "tsc -p src/dev/runtime/nodejs",
"check:dev-runtime-none": "tsc -p src/dev/runtime/none"
"check:dev-runtime-edge": "tsc -p src/dev/runtime/edge"
},
"exports": {
".": "./src/main.js",
Expand Down
2 changes: 1 addition & 1 deletion crates/turbopack-ecmascript-runtime/src/browser_runtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ pub async fn get_browser_runtime_code(
let runtime_backend_code = embed_static_code(
asset_context,
match chunk_loading {
ChunkLoading::Edge => "dev/runtime/none/runtime-backend-none.ts".into(),
ChunkLoading::Edge => "dev/runtime/edge/runtime-backend-edge.ts".into(),
ChunkLoading::NodeJs => "dev/runtime/nodejs/runtime-backend-nodejs.ts".into(),
ChunkLoading::Dom => "dev/runtime/dom/runtime-backend-dom.ts".into(),
},
Expand Down

0 comments on commit e578ec4

Please sign in to comment.