This repository was archived by the owner on Jan 4, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 45
feat: build dev server bundle using vite #201
Merged
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
08182f5
wip: vite ssr
pi0 67ee1ec
use import to reproduce vue2 issue
pi0 bcd77f7
fix: virutal module rewrites
antfu a94dc34
fix: initialize server plugins
antfu d31de84
fix: polyfill `__vite_ssr_import_meta__`
antfu d1e7a44
fix: resolve nested entry function
antfu f8b5da6
fix: polyfill `__vite_ssr_dynamic_import__`
antfu efcc89a
refactor: move utils
antfu 357e206
fix: scan for dynamic deps
antfu 7e49e31
fix: polyfill `__vite_ssr_exportAll__`
antfu a18308f
chore: bump vite
antfu 27f6545
fix: disable jiti cache
antfu 98f8574
fix: use cjs output and transform node_modules
pi0 b74a899
refactor: cleanups
pi0 9d3e4fd
fix: typo in ssr export all
antfu 5d21f44
Merge branch 'main' into feat/vite-ssr
pi0 10d2bc2
use mocha for test
pi0 3cb85af
implement watcher
pi0 a8ee778
fix!: enabled SSR by default and opt-out experimental state (#200)
antfu a83164e
add remaining @types/jest dep
pi0 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note for @antfu: Vite transform is not handling CJS at all (Node.js and Rollup both have basic CJS-in-ESM proxy support). Had to do this because some
node_modules
use CJS style exports but we also have this issue for the browser side. Maybe escalating this to add basic support to vite or refactor as a vite transform plugin?