Skip to content

Commit e76046a

Browse files
build: turn off emptyOutDir
1 parent 76add3b commit e76046a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/build.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ const currentDir = fileURLToPath(import.meta.url)
66

77
const esBuildOptions = defineConfig({
88
build: {
9+
emptyOutDir: false,
910
lib: {
1011
entry: path.resolve(currentDir, '../../src/index.ts'),
1112
formats: ['es'],
@@ -17,6 +18,7 @@ const esBuildOptions = defineConfig({
1718

1819
const umdBuildOptions = defineConfig({
1920
build: {
21+
emptyOutDir: false,
2022
lib: {
2123
entry: path.resolve(currentDir, '../../src/index-umd.ts'),
2224
fileName(format) {

0 commit comments

Comments
 (0)