- commit
- a1c5a9c
- parent
- 2f1d1ad
- author
- Eric Bower
- date
- 2023-05-21 15:21:24 +0000 UTC
chore: more natural npm imports
1 files changed,
+13,
-6
M
npm.ts
M
npm.ts
+13,
-6
1@@ -6,12 +6,19 @@ const version = Deno.env.get("NPM_VERSION");
2 assert(version, "NPM_VERSION is required to build npm package");
3
4 await build({
5- entryPoints: [
6- "./index.ts",
7- "./react.ts",
8- "./redux/index.ts",
9- "./query/index.ts",
10- ],
11+ entryPoints: [{
12+ name: "./index",
13+ path: "index.ts",
14+ }, {
15+ name: "./react",
16+ path: "react.ts",
17+ }, {
18+ name: "./redux",
19+ path: "redux/index.ts",
20+ }, {
21+ name: "./query",
22+ path: "./query/index.ts",
23+ }],
24 outDir: "./npm",
25 shims: {
26 deno: false,