File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 44 "description" : " Build an element once, move it anywhere" ,
55 "main" : " dist/cjs/index.js" ,
66 "module" : " dist/esm/index.js" ,
7+ "browser" : " dist/web/index.js" ,
78 "types" : " dist/index.d.ts" ,
89 "files" : [
910 " dist/**/*.{js,ts,map}" ,
1011 " src/**/*" ,
1112 " README.md"
1213 ],
1314 "scripts" : {
14- "build" : " rimraf dist/ && tsc -p tsconfig.cjs.json && tsc -p tsconfig.esm.json" ,
15+ "build" : " rimraf dist/ && tsc -p tsconfig.cjs.json && tsc -p tsconfig.esm.json && tsc -p tsconfig.web.json " ,
1516 "pretest" : " npm run build" ,
1617 "test" : " echo \" It built ok, that'll do for now\" " ,
1718 "prepack" : " npm run build" ,
Original file line number Diff line number Diff line change 1+ {
2+ "extends" : " ./tsconfig.json" ,
3+ "compilerOptions" : {
4+ "target" : " es5" ,
5+ "lib" : [" es6" , " dom" ],
6+ "module" : " es6" ,
7+ "outDir" : " ./dist/web"
8+ }
9+ }
You can’t perform that action at this time.
0 commit comments