We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76add3b commit e76046aCopy full SHA for e76046a
scripts/build.ts
@@ -6,6 +6,7 @@ const currentDir = fileURLToPath(import.meta.url)
6
7
const esBuildOptions = defineConfig({
8
build: {
9
+ emptyOutDir: false,
10
lib: {
11
entry: path.resolve(currentDir, '../../src/index.ts'),
12
formats: ['es'],
@@ -17,6 +18,7 @@ const esBuildOptions = defineConfig({
17
18
19
const umdBuildOptions = defineConfig({
20
21
22
23
entry: path.resolve(currentDir, '../../src/index-umd.ts'),
24
fileName(format) {
0 commit comments