Skip to content
This repository was archived by the owner on Oct 25, 2023. It is now read-only.

Commit 5b54600

Browse files
committed
Added /app export
1 parent b10b429 commit 5b54600

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

package.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,19 @@
3333
"import": "./dist/index.mjs",
3434
"require": "./dist/index.js"
3535
},
36+
"./app": {
37+
"import": "./dist/app.mjs",
38+
"require": "./dist/app.js"
39+
},
3640
"./package.json": "./package.json"
3741
},
42+
"typesVersions": {
43+
"*": {
44+
"app": [
45+
"./dist/app.d.ts"
46+
]
47+
}
48+
},
3849
"scripts": {
3950
"dev": "yarn build --watch",
4051
"build": "rimraf dist && tsup",

tsup.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ export default defineConfig({
66
clean: true,
77
dts: true,
88
entry: {
9+
app: "src/app/index.ts",
910
index: "src/index.ts",
1011
},
1112
format: ["cjs", "esm"],

0 commit comments

Comments
 (0)