Skip to content

Commit

Permalink
feat: add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
nailiable committed Nov 10, 2024
1 parent cf95bab commit a54aba2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"cSpell.words": [
"antfu",
"buildin",
"demi",
"dicom",
"iconify",
Expand Down
5 changes: 5 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,20 @@ export default defineConfig({
outDir: './dist/frontend',
},

// Disable esbuild when using swc
esbuild: false,

plugins: [
// https://github.com/nailyjs/core
NailyRpc({
build: {
on: false,
},
}),

// Internal swc plugin, fork from https://github.com/unplugin/unplugin-swc
// - esbuild doesn't support `emitDecoratorMetadata` to reflect types in runtime, so we need it
// - unplugin-swc has some problems to import, so we forked it and buildin to the rpc plugin
swc.vite(defaultSwcOptions),

VueMacros({
Expand Down

0 comments on commit a54aba2

Please sign in to comment.