@tanstack/vue-start 1.167.33 → 1.167.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vite.js","names":[],"sources":["../../../src/plugin/vite.ts"],"sourcesContent":["import {\n START_ENVIRONMENT_NAMES,\n tanStackStartVite,\n} from '@tanstack/start-plugin-core'\nimport
|
|
1
|
+
{"version":3,"file":"vite.js","names":[],"sources":["../../../src/plugin/vite.ts"],"sourcesContent":["import {\n START_ENVIRONMENT_NAMES,\n tanStackStartVite,\n} from '@tanstack/start-plugin-core'\nimport type {\n TanStackStartViteInputConfig,\n TanStackStartVitePluginCoreOptions,\n} from '@tanstack/start-plugin-core'\nimport { vueStartDefaultEntryPaths } from './shared'\nimport type { PluginOption } from 'vite'\n\nexport function tanstackStart(\n options?: TanStackStartViteInputConfig,\n): Array<PluginOption> {\n const corePluginOpts: TanStackStartVitePluginCoreOptions = {\n framework: 'vue',\n defaultEntryPaths: vueStartDefaultEntryPaths,\n providerEnvironmentName: START_ENVIRONMENT_NAMES.server,\n ssrIsProvider: true,\n ssrResolverStrategy: {\n type: 'default',\n },\n }\n\n return [\n {\n name: 'tanstack-vue-start:config',\n configEnvironment(environmentName, options) {\n return {\n optimizeDeps:\n environmentName === START_ENVIRONMENT_NAMES.client ||\n (environmentName === START_ENVIRONMENT_NAMES.server &&\n // This indicates that the server environment has opted in to dependency optimization\n options.optimizeDeps?.noDiscovery === false)\n ? {\n // As `@tanstack/vue-start` depends on `@tanstack/vue-router`, we should exclude both.\n exclude: [\n '@tanstack/vue-start',\n '@tanstack/vue-router',\n '@tanstack/start-static-server-functions',\n ],\n }\n : undefined,\n }\n },\n },\n tanStackStartVite(corePluginOpts, options),\n ]\n}\n"],"mappings":";;;AAWA,SAAgB,cACd,SACqB;AAWrB,QAAO,CACL;EACE,MAAM;EACN,kBAAkB,iBAAiB,SAAS;AAC1C,UAAO,EACL,cACE,oBAAoB,wBAAwB,UAC3C,oBAAoB,wBAAwB,UAE3C,QAAQ,cAAc,gBAAgB,QACpC,EAEE,SAAS;IACP;IACA;IACA;IACD,EACF,GACD,KAAA,GACP;;EAEJ,EACD,kBAhCyD;EACzD,WAAW;EACX,mBAAmB;EACnB,yBAAyB,wBAAwB;EACjD,eAAe;EACf,qBAAqB,EACnB,MAAM,WACP;EACF,EAwBmC,QAAQ,CAC3C"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tanstack/vue-start",
|
|
3
|
-
"version": "1.167.
|
|
3
|
+
"version": "1.167.35",
|
|
4
4
|
"description": "Modern and scalable routing for Vue applications",
|
|
5
5
|
"author": "Tanner Linsley",
|
|
6
6
|
"license": "MIT",
|
|
@@ -101,12 +101,12 @@
|
|
|
101
101
|
},
|
|
102
102
|
"dependencies": {
|
|
103
103
|
"pathe": "^2.0.3",
|
|
104
|
-
"@tanstack/vue-start-client": "1.166.
|
|
105
|
-
"@tanstack/
|
|
106
|
-
"@tanstack/start-
|
|
107
|
-
"@tanstack/vue-router": "1.168.
|
|
108
|
-
"@tanstack/start-client-core": "1.167.
|
|
109
|
-
"@tanstack/start-server-core": "1.167.
|
|
104
|
+
"@tanstack/vue-start-client": "1.166.35",
|
|
105
|
+
"@tanstack/start-plugin-core": "1.167.34",
|
|
106
|
+
"@tanstack/vue-start-server": "1.166.36",
|
|
107
|
+
"@tanstack/vue-router": "1.168.19",
|
|
108
|
+
"@tanstack/start-client-core": "1.167.17",
|
|
109
|
+
"@tanstack/start-server-core": "1.167.19"
|
|
110
110
|
},
|
|
111
111
|
"devDependencies": {
|
|
112
112
|
"@tanstack/intent": "^0.0.14",
|
package/src/plugin/vite.ts
CHANGED
|
@@ -2,9 +2,11 @@ import {
|
|
|
2
2
|
START_ENVIRONMENT_NAMES,
|
|
3
3
|
tanStackStartVite,
|
|
4
4
|
} from '@tanstack/start-plugin-core'
|
|
5
|
+
import type {
|
|
6
|
+
TanStackStartViteInputConfig,
|
|
7
|
+
TanStackStartVitePluginCoreOptions,
|
|
8
|
+
} from '@tanstack/start-plugin-core'
|
|
5
9
|
import { vueStartDefaultEntryPaths } from './shared'
|
|
6
|
-
import type { TanStackStartVitePluginCoreOptions } from '@tanstack/start-plugin-core/vite/types'
|
|
7
|
-
import type { TanStackStartViteInputConfig } from '@tanstack/start-plugin-core'
|
|
8
10
|
import type { PluginOption } from 'vite'
|
|
9
11
|
|
|
10
12
|
export function tanstackStart(
|