vitrify 0.26.8 → 0.26.10
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 +6 -1
- package/package.json +1 -1
- package/src/node/index.ts +8 -1
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,6 +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}`,
|
|
643
|
+
__DEBUG__: `'${debug ? true : false}'`,
|
|
639
644
|
__VUE_PROD_HYDRATION_MISMATCH_DETAILS__: `'${debug ? true : false}'`
|
|
640
645
|
},
|
|
641
646
|
// environments: {
|
package/package.json
CHANGED
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,6 +761,7 @@ export const baseConfig = async ({
|
|
|
755
761
|
__HOST__: `'localhost'`,
|
|
756
762
|
__BASE_URL__: `'${base}'`,
|
|
757
763
|
__IS_PWA__: `${isPwa}`,
|
|
764
|
+
__DEBUG__: `'${debug ? true : false}'`,
|
|
758
765
|
__VUE_PROD_HYDRATION_MISMATCH_DETAILS__: `'${debug ? true : false}'`
|
|
759
766
|
},
|
|
760
767
|
// environments: {
|