File tree Expand file tree Collapse file tree 2 files changed +12
-7
lines changed
Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -25,8 +25,9 @@ async function buildJs(
2525}
2626
2727await Promise . all ( [
28- buildJs ( "src/app.ts" ) ,
29- buildJs ( "src/react/index.tsx" , { outdir : "dist/react" } ) ,
28+ buildJs ( "src/app.ts" , { outdir : "dist/src" } ) ,
29+ buildJs ( "src/app-host.ts" , { outdir : "dist/src" } ) ,
30+ buildJs ( "src/react/index.tsx" , { outdir : "dist/src/react" } ) ,
3031 // buildJs("examples/example-ui-react.tsx", { outdir: "dist/examples" }),
3132 // buildJs("examples/example-ui.ts", { outdir: "dist/examples" }),
3233 // buildJs("examples/example-server.ts", {
Original file line number Diff line number Diff line change 44 "version" : " 1.0.0" ,
55 "description" : " Hey" ,
66 "type" : " module" ,
7- "main" : " ./dist/app.js" ,
7+ "main" : " ./dist/src/ app.js" ,
88 "exports" : {
99 "." : {
10- "types " : " ./dist/app.d.ts " ,
11- "default " : " ./dist/app.js "
10+ "default " : " ./dist/src/ app.js " ,
11+ "types " : " ./dist/src/ app.d.ts "
1212 },
1313 "./react" : {
14- "types" : " ./dist/react/index.d.ts" ,
15- "default" : " ./dist/react/index.js"
14+ "default" : " ./dist/src/react/index.js" ,
15+ "types" : " ./dist/src/react/index.d.ts"
16+ },
17+ "./app-host" : {
18+ "default" : " ./dist/src/app-host.js" ,
19+ "types" : " ./dist/src/app-host.d.ts"
1620 }
1721 },
1822 "scripts" : {
You can’t perform that action at this time.
0 commit comments