Skip to content

Commit

Permalink
fix:change the test table of contents
Browse files Browse the repository at this point in the history
  • Loading branch information
chengkai48 committed Jul 24, 2024
1 parent 3bf125f commit 7f29cad
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
File renamed without changes.
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@
"isolatedModules": false
},

"include": ["src/**/*"],
"include": ["src/**/*", "test/**/*"],
"exclude": ["node_modules", "dist"]
}
3 changes: 3 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ export default defineConfig((_) => {
emptyOutDir: true,
sourcemap: dev ? 'inline' : false,
rollupOptions: {
external: (id) => {
return id.includes('spec.') || id.includes('test.') || id.includes('node_modules')
},
output: {
dynamicImportInCjs: false,
inlineDynamicImports: true,
Expand Down

0 comments on commit 7f29cad

Please sign in to comment.