-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
build: update to vite-config 0.5.x (rolldown) #6926
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
c67104e
build: update to vite-config 0.5.x (rolldown)
birkskyum 155e6b0
changeset
birkskyum d115bcf
replace function overload with callable interface type
birkskyum deb2841
import * as babel, because no .default
birkskyum 09d6177
fix typo in changeset
birkskyum 18c71f4
rerun ci
birkskyum f3c992e
pin benchmark to vite 7
birkskyum 2895046
pin ssr bench to vite 7 too
birkskyum 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,44 @@ | ||
| --- | ||
| '@tanstack/router-devtools-core': patch | ||
| '@tanstack/arktype-adapter': patch | ||
| '@tanstack/eslint-plugin-router': patch | ||
| '@tanstack/history': patch | ||
| '@tanstack/nitro-v2-vite-plugin': patch | ||
| '@tanstack/react-router': patch | ||
| '@tanstack/react-router-devtools': patch | ||
| '@tanstack/react-router-ssr-query': patch | ||
| '@tanstack/react-start': patch | ||
| '@tanstack/react-start-client': patch | ||
| '@tanstack/react-start-server': patch | ||
| '@tanstack/router-cli': patch | ||
| '@tanstack/router-core': patch | ||
| '@tanstack/router-devtools': patch | ||
| '@tanstack/router-generator': patch | ||
| '@tanstack/router-plugin': patch | ||
| '@tanstack/router-ssr-query-core': patch | ||
| '@tanstack/router-utils': patch | ||
| '@tanstack/router-vite-plugin': patch | ||
| '@tanstack/solid-router': patch | ||
| '@tanstack/solid-router-devtools': patch | ||
| '@tanstack/solid-router-ssr-query': patch | ||
| '@tanstack/solid-start': patch | ||
| '@tanstack/solid-start-client': patch | ||
| '@tanstack/solid-start-server': patch | ||
| '@tanstack/start-client-core': patch | ||
| '@tanstack/start-fn-stubs': patch | ||
| '@tanstack/start-plugin-core': patch | ||
| '@tanstack/start-server-core': patch | ||
| '@tanstack/start-static-server-functions': patch | ||
| '@tanstack/start-storage-context': patch | ||
| '@tanstack/valibot-adapter': patch | ||
| '@tanstack/virtual-file-routes': patch | ||
| '@tanstack/vue-router': patch | ||
| '@tanstack/vue-router-devtools': patch | ||
| '@tanstack/vue-router-ssr-query': patch | ||
| '@tanstack/vue-start': patch | ||
| '@tanstack/vue-start-client': patch | ||
| '@tanstack/vue-start-server': patch | ||
| '@tanstack/zod-adapter': patch | ||
| --- | ||
|
|
||
| build: update to vite-config 5.x (rolldown) |
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.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,44 @@ | ||
| diff --git a/dist/index.js b/dist/index.js | ||
| index b7eacf17711de6d5d476a8f9d4343809ded1f46b..2eb23eb2503d534e36c40f0578ced4d904960418 100644 | ||
| --- a/dist/index.js | ||
| +++ b/dist/index.js | ||
| @@ -27,7 +27,7 @@ const tanstackViteConfig = (options) => { | ||
| exclude: options.exclude, | ||
| tsconfigPath: options.tsconfigPath, | ||
| compilerOptions: { | ||
| - module: 199, | ||
| + module: 99, | ||
| declarationMap: false | ||
| }, | ||
| beforeWriteFile: (filePath, content) => { | ||
| @@ -54,7 +54,7 @@ const tanstackViteConfig = (options) => { | ||
| exclude: options.exclude, | ||
| tsconfigPath: options.tsconfigPath, | ||
| compilerOptions: { | ||
| - module: 199, | ||
| + module: 100, | ||
| declarationMap: false | ||
| }, | ||
| beforeWriteFile: (filePath, content) => { | ||
| diff --git a/src/index.ts b/src/index.ts | ||
| index 74d87604e414f282589fc2df278040a10e7901e7..0b16ec25c9849de8905fb96ea889e3d8d6e325ae 100644 | ||
| --- a/src/index.ts | ||
| +++ b/src/index.ts | ||
| @@ -57,7 +57,7 @@ export const tanstackViteConfig = (options: Options): UserConfig => { | ||
| exclude: options.exclude, | ||
| tsconfigPath: options.tsconfigPath, | ||
| compilerOptions: { | ||
| - module: 199, // NodeNext | ||
| + module: 99, // ESNext | ||
| declarationMap: false, | ||
| }, | ||
| beforeWriteFile: (filePath, content) => { | ||
| @@ -83,7 +83,7 @@ export const tanstackViteConfig = (options: Options): UserConfig => { | ||
| exclude: options.exclude, | ||
| tsconfigPath: options.tsconfigPath, | ||
| compilerOptions: { | ||
| - module: 199, // NodeNext | ||
| + module: 100, // Node16 | ||
| declarationMap: false, | ||
| }, | ||
| beforeWriteFile: (filePath, content) => { |
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.