UNPKG
@growing-web/esm-pack-core
Version:
latest (0.2.3)
0.2.3
0.2.2
0.2.1
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
esm pack build core.
@growing-web/esm-pack-core
/
build.config.ts
13 lines
(11 loc)
•
228 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
import { defineBuildConfig }
from
'unbuild'
export
default
defineBuildConfig
({
clean
:
true
,
entries
: [
'src/index'
],
declaration
:
true
,
rollup
: {
cjsBridge
:
true
,
emitCJS
:
true
, },
externals
: [
'resolve'
], })