Skip to content

Commit c2f718f

Browse files
committed
chore: use oxc module runner transform
wip: workaround double createRequire chore: enable back pnpm override fix: fix duplicate createRequire chore: fix overrides ci: trigger preview Revert "ci: trigger preview" This reverts commit 6fb3890.
1 parent 9ce2683 commit c2f718f

File tree

6 files changed

+824
-368
lines changed

6 files changed

+824
-368
lines changed

packages/vite/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@
8787
"dependencies": {
8888
"@oxc-project/runtime": "^0.56.0",
8989
"lightningcss": "^1.29.1",
90+
"oxc-transform": "^0.56.5",
9091
"postcss": "^8.5.3",
9192
"rolldown": "1.0.0-beta.3-commit.e170e6e"
9293
},

packages/vite/src/node/ssr/__tests__/ssrLoadModule.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ test('json', async () => {
238238
null,
239239
'/test.json',
240240
)
241-
expect(json?.code.length).toMatchInlineSnapshot(`61`)
241+
expect(json?.code.length).toMatchInlineSnapshot(`151`)
242242
})
243243

244244
test('file url', async () => {

0 commit comments

Comments
 (0)