Skip to content

Commit

Permalink
fix: add package.json to exports
Browse files Browse the repository at this point in the history
  • Loading branch information
stipsan committed Nov 7, 2022
1 parent 99dd06c commit 6abbcb1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@
"import": "./dist/studio.js",
"require": "./dist/studio.cjs",
"default": "./dist/studio.js"
}
},
"./package.json": "./package.json"
},
"main": "./dist/index.cjs",
"module": "./dist/index.js",
Expand All @@ -60,7 +61,7 @@
],
"scripts": {
"prebuild": "npm run clean",
"build": "pkg build --tsconfig tsconfig.build.json",
"build": "pkg build --tsconfig tsconfig.build.json --strict",
"postbuild": "npm run build:studio.mjs",
"build:studio.mjs": "cp studio.mjs dist/studio.mjs",
"clean": "rimraf dist",
Expand Down

0 comments on commit 6abbcb1

Please sign in to comment.