Skip to content

Commit ad93c8d

Browse files
authored
Merge pull request #70 from aj3sh/feat/tooling
build: replaced rollup with unbuild
2 parents ffcce2a + 9590d9f commit ad93c8d

File tree

4 files changed

+2552
-1180
lines changed

4 files changed

+2552
-1180
lines changed

build.config.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import { defineBuildConfig } from 'unbuild'
2+
3+
export default defineBuildConfig({
4+
entries: ['src/index', 'src/dateConverter/index'],
5+
declaration: true,
6+
clean: true,
7+
sourcemap: false,
8+
rollup: {
9+
emitCJS: true,
10+
esbuild: {
11+
minify: true,
12+
},
13+
},
14+
})

0 commit comments

Comments
 (0)