Skip to content

Commit

Permalink
Fix npm package exports
Browse files Browse the repository at this point in the history
  • Loading branch information
antitoxic committed Jul 8, 2023
1 parent 53425f1 commit 6e0fd40
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
9 changes: 7 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
{
"name": "prerender-spa-ultra",
"license": "MIT",
"version": "1.0.0",
"version": "1.0.1",
"description": "Crawls & Pre-renders a site",
"main": "dist/prerenderer/prerender.js",
"exports": {
".": "./dist/prerenderer/*"
".": "./dist/prerenderer/index.js",
"./*": "./dist/prerenderer/*.js"
},
"files": [
"dist/*",
"src/*"
],
"engines": {
"node": ">=16.x <19"
},
Expand Down
1 change: 1 addition & 0 deletions src/prerenderer/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './prerender';

0 comments on commit 6e0fd40

Please sign in to comment.