diff --git a/demos/package.json b/demos/package.json index 3f17eeb..0912687 100644 --- a/demos/package.json +++ b/demos/package.json @@ -8,7 +8,7 @@ "preview": "vite preview" }, "dependencies": { - "@document-kits/viewer": "workspace:*", + "@document-kits/viewer": "0.9.6", "vue": "^3.3.4", "vue-router": "^4.2.4" }, diff --git a/demos/vite.config.js b/demos/vite.config.js index 58e67c2..794032b 100644 --- a/demos/vite.config.js +++ b/demos/vite.config.js @@ -20,9 +20,9 @@ export default defineConfig(({ command, mode, ssrBuild }) => { }), ], // Used in dev mode - optimizeDeps: { - include: ["@document-kits/viewer"], - }, + // optimizeDeps: { + // include: ["@document-kits/viewer"], + // }, resolve: { alias: [ { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 680b31a..116f7ea 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -52,8 +52,8 @@ importers: demos: dependencies: '@document-kits/viewer': - specifier: workspace:* - version: link:../packages/document-viewer + specifier: 0.9.6 + version: 0.9.6 vue: specifier: ^3.3.4 version: 3.3.4 @@ -538,6 +538,10 @@ packages: - '@algolia/client-search' dev: true + /@document-kits/viewer@0.9.6: + resolution: {integrity: sha512-csWHU8FFlwgpVoqgpCkrQHL6v/SHsV3QkVOixf04UiFRia+Xu+tgj3WWEsLHKCOqenj8U2fXv4MfiVUzNZMAOQ==} + dev: false + /@esbuild/aix-ppc64@0.19.12: resolution: {integrity: sha512-bmoCYyWdEL3wDQIVbcyzRyeKLgk2WtWLTWz1ZIAZF/EGbNOwSA6ew3PftJ1PqMiOOGu0OyFMzG53L0zqIpPeNA==} engines: {node: '>=12'}