File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ jspm_packages
43
43
# Build files
44
44
cjs /
45
45
dist /
46
+ esm /index.d.mts
46
47
47
48
# Vim swap files
48
49
* .swp
Original file line number Diff line number Diff line change 5
5
"author" :
" Mark <[email protected] >" ,
6
6
"main" : " ./cjs/index.js" ,
7
7
"module" : " ./esm/index.mjs" ,
8
- "types" : " ./cjs/index.d.ts" ,
9
8
"exports" : {
10
- "types" : " ./cjs/index.d.ts" ,
11
9
"import" : " ./esm/index.mjs" ,
12
10
"require" : " ./cjs/index.js"
13
11
},
14
12
"scripts" : {
15
13
"build" : " run-s build:*" ,
16
14
"build:cjs" : " tsc" ,
15
+ "build:esm" : " awk '!/sourceMappingURL/' cjs/index.d.ts > esm/index.d.mts" ,
17
16
"build:umd" : " rollup --config --failAfterWarnings" ,
18
17
"clean" : " rm -rf cjs coverage dist" ,
19
18
"lint" : " eslint --ignore-path .gitignore ." ,
You can’t perform that action at this time.
0 commit comments