Configure exports properly.
Showing
1 changed file
with
3 additions
and
6 deletions
... | @@ -2,12 +2,9 @@ | ... | @@ -2,12 +2,9 @@ |
2 | "name": "astro-wt", | 2 | "name": "astro-wt", |
3 | "type": "module", | 3 | "type": "module", |
4 | "exports": { | 4 | "exports": { |
5 | "./astro": "./src/astro.mjs", | 5 | "./astro": "./lib/astro.ts", |
6 | "./client": "./src/client.mjs", | 6 | "./htmt": "./lib/html.ts", |
7 | "./slices": "./src/slices.mjs", | 7 | "./remote-content": "./lib/remote-content.ts" |
8 | "./react": "./src/react.jsx", | ||
9 | "./session": "./src/session.mjs", | ||
10 | "./ReduxIsland": "./src/ReduxIsland.astro" | ||
11 | }, | 8 | }, |
12 | "scripts": { | 9 | "scripts": { |
13 | "dev": "astro dev" | 10 | "dev": "astro dev" | ... | ... |
-
Please register or sign in to post a comment