vitrify 0.13.0 → 0.13.1
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 +5 -1
- package/package.json +1 -1
- package/src/node/index.ts +5 -1
package/dist/index.js
CHANGED
|
@@ -466,7 +466,11 @@ export const baseConfig = async ({ ssr, appDir, publicDir, base = '/', command =
|
|
|
466
466
|
let noExternal = [
|
|
467
467
|
new RegExp(`^(?!(${[...builtinModules, ...serverModules].join('|')}))`)
|
|
468
468
|
];
|
|
469
|
-
const external = [
|
|
469
|
+
const external = [
|
|
470
|
+
...builtinModules,
|
|
471
|
+
...serverModules,
|
|
472
|
+
'virtual:pwa-register/vue'
|
|
473
|
+
];
|
|
470
474
|
if (ssr === 'server') {
|
|
471
475
|
rollupOptions = {
|
|
472
476
|
...rollupOptions,
|
package/package.json
CHANGED
package/src/node/index.ts
CHANGED
|
@@ -564,7 +564,11 @@ export const baseConfig = async ({
|
|
|
564
564
|
let noExternal: RegExp[] | string[] = [
|
|
565
565
|
new RegExp(`^(?!(${[...builtinModules, ...serverModules].join('|')}))`)
|
|
566
566
|
]
|
|
567
|
-
const external = [
|
|
567
|
+
const external = [
|
|
568
|
+
...builtinModules,
|
|
569
|
+
...serverModules,
|
|
570
|
+
'virtual:pwa-register/vue'
|
|
571
|
+
]
|
|
568
572
|
|
|
569
573
|
if (ssr === 'server') {
|
|
570
574
|
rollupOptions = {
|