Skip to content

Commit

Permalink
feat: 🔧set default ssr noExternal to
Browse files Browse the repository at this point in the history
  • Loading branch information
nailiable committed Oct 26, 2024
1 parent 27ecf64 commit fbfbb2c
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 14 deletions.
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@
"sizecheck": "npx vite-bundle-visualizer"
},
"dependencies": {
"@nailyjs/backend": "^1.0.13",
"@nailyjs/ioc": "^1.0.13",
"@nailyjs/rpc": "^1.0.13",
"@unhead/vue": "^1.10.0",
"@unocss/reset": "^0.62.2",
"@vueuse/core": "^11.0.1",
Expand All @@ -36,6 +33,9 @@
"@antfu/eslint-config": "^2.27.1",
"@iconify-json/carbon": "^1.1.37",
"@intlify/unplugin-vue-i18n": "^4.0.0",
"@nailyjs/backend": "^1.0.14",
"@nailyjs/ioc": "^1.0.14",
"@nailyjs/rpc": "^1.0.14",
"@shikijs/markdown-it": "^1.14.1",
"@types/markdown-it-link-attributes": "^3.0.5",
"@types/nprogress": "^0.2.3",
Expand All @@ -54,14 +54,15 @@
"lint-staged": "^15.2.9",
"markdown-it-link-attributes": "^4.0.1",
"pnpm": "^9.8.0",
"reflect-metadata": "^0.2.2",
"rollup": "^4.21.0",
"shiki": "^1.14.1",
"simple-git-hooks": "^2.11.1",
"taze": "^0.16.6",
"typescript": "^5.5.4",
"unocss": "^0.62.2",
"unplugin-auto-import": "^0.18.2",
"unplugin-rpc": "^1.0.13",
"unplugin-rpc": "^1.0.14",
"unplugin-vue-components": "^0.27.4",
"unplugin-vue-macros": "^2.11.6",
"unplugin-vue-markdown": "^0.26.2",
Expand Down
21 changes: 12 additions & 9 deletions pnpm-lock.yaml

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

2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ export default defineConfig({
await buildServer({
viteOptions: {
ssr: {
noExternal: [/^@nailyjs/],
noExternal: true,
},
},
})
Expand Down

0 comments on commit fbfbb2c

Please sign in to comment.