Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
5f8c6fd
fix(ssr): hoist export to handle cyclic import better
hi-ogawa Dec 17, 2024
b537976
chore: remove override temporarily
hi-ogawa Dec 17, 2024
3cc86da
wip: forget this one too for now
hi-ogawa Dec 17, 2024
ed79e4d
wip: workaround cyclic import
hi-ogawa Dec 17, 2024
95f47eb
chore: unused
hi-ogawa Dec 17, 2024
2245aaa
test: fix hmr-ssr
hi-ogawa Dec 18, 2024
a8c1d12
Merge branch 'main' into fix-ssr-transform-hoist-export
hi-ogawa Dec 18, 2024
c2f7d75
test: fix importing broken entries
hi-ogawa Dec 18, 2024
96f123a
test: tweak
hi-ogawa Dec 18, 2024
d5b2333
Merge branch 'main' into fix-ssr-transform-hoist-export
hi-ogawa Dec 25, 2024
d252b5c
fix: remove new line
hi-ogawa Dec 25, 2024
7904808
test: update
hi-ogawa Dec 25, 2024
45e74ac
chore: comment
hi-ogawa Dec 25, 2024
83a7a1f
test: test invalid cyclic
hi-ogawa Dec 25, 2024
af7de84
chore: comment
hi-ogawa Dec 25, 2024
b0b75eb
chore: comment
hi-ogawa Dec 25, 2024
958467a
test: simplify
hi-ogawa Dec 25, 2024
19f7533
test: add test in ssr playground
sapphi-red Jan 7, 2025
059d132
Merge branch 'main' into fix-ssr-transform-hoist-export
hi-ogawa Jan 8, 2025
677949c
test: hacky setupFiles
hi-ogawa Jan 10, 2025
a844104
chore: remove unused
hi-ogawa Jan 10, 2025
94a2d1f
Merge branch 'main' into fix-ssr-transform-hoist-export
hi-ogawa Jan 13, 2025
7d75d1f
Merge branch 'main' into fix-ssr-transform-hoist-export
hi-ogawa Mar 7, 2025
1d5110e
fix: give up preserving lines
hi-ogawa Mar 7, 2025
7e7b660
fix: tweak new lines
hi-ogawa Mar 7, 2025
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
chore: comment
  • Loading branch information
hi-ogawa committed Dec 25, 2024
commit af7de840a2b76daf9cd3047f541fd03043b5be9b
2 changes: 1 addition & 1 deletion packages/vite/src/node/__tests__/plugins/import.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { beforeEach, describe, expect, test, vi } from 'vitest'
import '../..'
import '../..' // fix cyclic import error
import { transformCjsImport } from '../../plugins/importAnalysis'

describe('transformCjsImport', () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/vite/src/node/__tests__/scan.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { describe, expect, test } from 'vitest'
import '..'
import '..' // fix cyclic import error
import { commentRE, importsRE, scriptRE } from '../optimizer/scan'
import { multilineCommentsRE, singlelineCommentsRE } from '../utils'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { describe, expect, it } from 'vitest'
import '../..'
import '../..' // fix cyclic import error
import { EnvironmentModuleGraph } from '../moduleGraph'
import type { ModuleNode } from '../mixedModuleGraph'
import { ModuleGraph } from '../mixedModuleGraph'
Expand Down
Loading