Skip to content

Commit b067992

Browse files
committed
update build tool
1 parent d8a62e3 commit b067992

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

vite.config.mts

+6-9
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,12 @@ export default defineConfig({
2727
legalComments: 'none',
2828
},
2929
plugins: [
30-
{
31-
...dts({
32-
outDir: 'dist',
33-
copyDtsFiles: true,
34-
rollupTypes: true,
35-
}),
36-
...stripComments({ type: 'none' }),
37-
apply: 'build',
38-
}
30+
dts({
31+
outDir: 'dist',
32+
copyDtsFiles: true,
33+
rollupTypes: true,
34+
}),
35+
stripComments({ type: 'none' }),
3936
],
4037
build: {
4138
minify: 'esbuild',

0 commit comments

Comments
 (0)