Skip to content

Commit

Permalink
demos: make demos work and ignore reported issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Priestch committed Mar 25, 2024
1 parent 7ac9209 commit 976397d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion demos/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
6 changes: 3 additions & 3 deletions demos/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
{
Expand Down
8 changes: 6 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 976397d

Please sign in to comment.