This repository was archived by the owner on Apr 6, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 984
feat(vite)!: upgrade vite to v3 #5398
Merged
Merged
Changes from all commits
Commits
Show all changes
58 commits
Select commit
Hold shift + click to select a range
8069761
chore: upgrade vite to alpha
danielroe 45700fa
test: update vitest config
danielroe e63cd93
fix(vite): use replace for `typeof` replacements
danielroe d24879b
fix: use `externalVue` for now
danielroe d2d8175
fix: add `#internal/nitro/utils` explicitly to externals
danielroe f885c2a
chore: alpha 13 and new jiti
danielroe 596f047
fix: use custom appType
danielroe f4d2cb3
fix: do not alias any vue deps - and don't convert to file urls
danielroe 5149f4b
fix: only create ws server for client build
danielroe e15f8ce
ci: force cache refresh
danielroe aaf3c8d
ci: remove cache
danielroe 5bc2768
chore: force jiti 1.14.0
danielroe d923b26
chore: revert port change
danielroe ce0a5d2
fix: use legacy commonjs transform plugin
danielroe 76c4df1
fix: don't need cjs transform in dev either
danielroe facab42
fix: use `buildAssets` dir and relative base for client
danielroe 8d690e1
feat: use new advanced build urls to replace custom plugin
danielroe ddf51f6
chore: upgrade vite to latest alpha
danielroe 7af2fff
fix: remove unused import
danielroe 19331ea
chore: bump vite to beta
danielroe b90a426
chore: revert jiti resolution
danielroe 8e8f2c2
chore: use caret version of vite packages
danielroe 41b378e
chore: bump to beta 1
danielroe c29dab6
refactor: use new `renderBuiltUrl` API
danielroe 7070281
fix: only enable `buildRollupPluginCommonjs` for vite server
danielroe b546037
chore: upgrade to beta 6
danielroe b06694c
chore: bump to beta 7
danielroe 6c6e14f
chore: upgrade to beta 8 (reverting to use commonjs plugin by default)
danielroe d052426
feat: use `optimizeDeps` at build-time
danielroe 8c83444
chore: update lockfile
danielroe dffbddc
fix: disable `optimizeDeps` at build-time (testing windows ci)
danielroe c94533f
fix: try normalizing specifier
danielroe c685283
fix: hotfix hashing chunk code rather than id
danielroe 6c56217
fix: include id in hash
danielroe de7e8fe
fix: exclude relative paths from new approach
danielroe c16a56a
fix: hash manifest as well
danielroe b91ff93
chore: upgrade to beta 9
danielroe b37cfb4
chore: bump vite to beta 10
danielroe 8c36c27
fix: revert unneeded changes
danielroe 7a5fa22
docs: add link to source
danielroe bdca0b7
fix: don't alias vue deps in dev mode
danielroe bdde1fd
chore: use released vite 3 packages
danielroe bf4a51e
Merge remote-tracking branch 'origin/main' into chore/vite-3
danielroe 0da80d5
Merge remote-tracking branch 'origin/main' into chore/vite-3
danielroe f4bdd62
Update packages/vite/src/client.ts
danielroe c740bd2
Update packages/vite/src/server.ts
danielroe f46330b
Update packages/vite/src/server.ts
danielroe 6d4aaeb
Merge branch 'main' into chore/vite-3
pi0 f4ebe8b
Merge remote-tracking branch 'origin/main' into chore/vite-3
danielroe c4f451b
fix(components): transform `<script setup>` blocks with new vite vue …
danielroe 582d3a5
Merge remote-tracking branch 'origin/main' into chore/vite-3
danielroe 616ab1e
fix: type error
danielroe ab4dd6e
Merge remote-tracking branch 'origin/main' into chore/vite-3
danielroe 376b87e
fix: remove debugging code
danielroe b23d738
fix: revert change from define -> replace
danielroe 28ccf68
Merge branch 'main' into chore/vite-3
pi0 d0a3bab
refactor: use simple if
pi0 b832953
refactor webpack plugin
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 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
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
This file was deleted.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.