vitrify 0.26.9 → 0.26.11
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.
package/dist/index.js
CHANGED
|
@@ -174,7 +174,11 @@ export const baseConfig = async ({ ssr, appDir, publicDir, base = '/', command =
|
|
|
174
174
|
const isPwa = !!vitrifyConfig.vitrify?.pwa || false;
|
|
175
175
|
const frameworkPlugins = [];
|
|
176
176
|
if (framework === 'vue') {
|
|
177
|
-
frameworkPlugins.push(vuePlugin(
|
|
177
|
+
frameworkPlugins.push(vuePlugin({
|
|
178
|
+
features: {
|
|
179
|
+
prodHydrationMismatchDetails: debug ? true : false
|
|
180
|
+
}
|
|
181
|
+
}));
|
|
178
182
|
}
|
|
179
183
|
const vitrifyPlugins = [];
|
|
180
184
|
if (vitrifyConfig.vitrify?.plugins) {
|
|
@@ -636,8 +640,7 @@ export const baseConfig = async ({ ssr, appDir, publicDir, base = '/', command =
|
|
|
636
640
|
__HOST__: `'localhost'`,
|
|
637
641
|
__BASE_URL__: `'${base}'`,
|
|
638
642
|
__IS_PWA__: `${isPwa}`,
|
|
639
|
-
__DEBUG__: `'${debug ? true : false}'
|
|
640
|
-
__VUE_PROD_HYDRATION_MISMATCH_DETAILS__: `'${debug ? true : false}'`
|
|
643
|
+
__DEBUG__: `'${debug ? true : false}'`
|
|
641
644
|
},
|
|
642
645
|
// environments: {
|
|
643
646
|
// },
|
|
@@ -139,7 +139,15 @@ export const QuasarPlugin = async ({ ssr = false, pwa = false, options }) => {
|
|
|
139
139
|
]
|
|
140
140
|
},
|
|
141
141
|
optimizeDeps: {
|
|
142
|
-
exclude: ['quasar']
|
|
142
|
+
exclude: ['quasar'],
|
|
143
|
+
include: [
|
|
144
|
+
'quasar/src/components.js',
|
|
145
|
+
'quasar/src/plugins.js',
|
|
146
|
+
'quasar/src/directives.js',
|
|
147
|
+
'quasar/src/composables.js',
|
|
148
|
+
'quasar/src/utils.js',
|
|
149
|
+
'quasar/src/install-quasar.js'
|
|
150
|
+
]
|
|
143
151
|
},
|
|
144
152
|
define: {
|
|
145
153
|
__DEV__: process.env.NODE_ENV !== 'production' || true,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vitrify",
|
|
3
|
-
"version": "0.26.
|
|
3
|
+
"version": "0.26.11",
|
|
4
4
|
"description": "Vite as your Full Stack development tool",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"fastify",
|
|
@@ -79,12 +79,12 @@
|
|
|
79
79
|
"devalue": "^5.8.1",
|
|
80
80
|
"fastify": "^5.8.5",
|
|
81
81
|
"glob": "^13.0.6",
|
|
82
|
-
"happy-dom": "^20.10.
|
|
82
|
+
"happy-dom": "^20.10.6",
|
|
83
83
|
"is-port-reachable": "^4.0.0",
|
|
84
84
|
"magic-string": "^0.30.21",
|
|
85
85
|
"merge-deep": "^3.0.3",
|
|
86
86
|
"readline": "^1.3.0",
|
|
87
|
-
"rolldown": "1.1.
|
|
87
|
+
"rolldown": "1.1.2",
|
|
88
88
|
"rollup-plugin-visualizer": "^7.0.1",
|
|
89
89
|
"sass": "1.101.0",
|
|
90
90
|
"stringify-object": "^6.0.0",
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
"vite": "^8.0.16",
|
|
95
95
|
"vite-plugin-pwa": "^1.3.0",
|
|
96
96
|
"vitefu": "^1.1.3",
|
|
97
|
-
"vitest": "^4.1.
|
|
97
|
+
"vitest": "^4.1.9",
|
|
98
98
|
"workbox-window": "^7.4.1"
|
|
99
99
|
},
|
|
100
100
|
"devDependencies": {
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
"@types/connect": "^3.4.38",
|
|
107
107
|
"@types/glob": "^9.0.0",
|
|
108
108
|
"@types/merge-deep": "^3.0.3",
|
|
109
|
-
"@types/node": "^
|
|
109
|
+
"@types/node": "^26.0.0",
|
|
110
110
|
"@types/stringify-object": "^4.0.5",
|
|
111
111
|
"@types/ws": "^8.18.1",
|
|
112
112
|
"@unocss/preset-icons": "^66.7.2",
|
|
@@ -115,8 +115,8 @@
|
|
|
115
115
|
"css": "^3.0.0",
|
|
116
116
|
"css-to-tailwind-translator": "^1.2.8",
|
|
117
117
|
"pinia": "^3.0.4",
|
|
118
|
-
"quasar": "^2.20.
|
|
119
|
-
"rollup": "^4.
|
|
118
|
+
"quasar": "^2.20.1",
|
|
119
|
+
"rollup": "^4.62.2",
|
|
120
120
|
"typescript": "^6.0.3",
|
|
121
121
|
"vue": "^3.5.38",
|
|
122
122
|
"vue-router": "^5.1.0"
|
|
@@ -126,7 +126,7 @@
|
|
|
126
126
|
"@pinia/colada": "^1.3.1",
|
|
127
127
|
"fastify": "^5.8.5",
|
|
128
128
|
"pinia": "^3.0.4",
|
|
129
|
-
"quasar": "^2.20.
|
|
129
|
+
"quasar": "^2.20.1",
|
|
130
130
|
"vue": "^3.5.38",
|
|
131
131
|
"vue-router": "^5.1.0"
|
|
132
132
|
},
|
package/src/node/index.ts
CHANGED
|
@@ -235,7 +235,13 @@ export const baseConfig = async ({
|
|
|
235
235
|
|
|
236
236
|
const frameworkPlugins: Plugin[] = []
|
|
237
237
|
if (framework === 'vue') {
|
|
238
|
-
frameworkPlugins.push(
|
|
238
|
+
frameworkPlugins.push(
|
|
239
|
+
vuePlugin({
|
|
240
|
+
features: {
|
|
241
|
+
prodHydrationMismatchDetails: debug ? true : false
|
|
242
|
+
}
|
|
243
|
+
})
|
|
244
|
+
)
|
|
239
245
|
}
|
|
240
246
|
|
|
241
247
|
const vitrifyPlugins: Plugin[] = []
|
|
@@ -755,8 +761,7 @@ export const baseConfig = async ({
|
|
|
755
761
|
__HOST__: `'localhost'`,
|
|
756
762
|
__BASE_URL__: `'${base}'`,
|
|
757
763
|
__IS_PWA__: `${isPwa}`,
|
|
758
|
-
__DEBUG__: `'${debug ? true : false}'
|
|
759
|
-
__VUE_PROD_HYDRATION_MISMATCH_DETAILS__: `'${debug ? true : false}'`
|
|
764
|
+
__DEBUG__: `'${debug ? true : false}'`
|
|
760
765
|
},
|
|
761
766
|
// environments: {
|
|
762
767
|
// },
|
|
@@ -228,7 +228,15 @@ export const QuasarPlugin: VitrifyPlugin<QuasarPluginOptions> = async ({
|
|
|
228
228
|
]
|
|
229
229
|
},
|
|
230
230
|
optimizeDeps: {
|
|
231
|
-
exclude: ['quasar']
|
|
231
|
+
exclude: ['quasar'],
|
|
232
|
+
include: [
|
|
233
|
+
'quasar/src/components.js',
|
|
234
|
+
'quasar/src/plugins.js',
|
|
235
|
+
'quasar/src/directives.js',
|
|
236
|
+
'quasar/src/composables.js',
|
|
237
|
+
'quasar/src/utils.js',
|
|
238
|
+
'quasar/src/install-quasar.js'
|
|
239
|
+
]
|
|
232
240
|
},
|
|
233
241
|
define: {
|
|
234
242
|
__DEV__: process.env.NODE_ENV !== 'production' || true,
|