Skip to content

Commit

Permalink
fix(build): add exports field to package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
cwillisf committed Mar 19, 2024
1 parent b18652d commit 43a1e8f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@
"url": "https://github.com/scratchfoundation/scratch-gui.git"
},
"main": "./dist/scratch-gui.js",
"exports": {
"webpack": "./src/index.js",
"browser": "./dist/scratch-gui.js",
"default": "./src/index.js"
},
"scripts": {
"build": "npm run clean && webpack",
"clean": "rimraf ./build ./dist",
Expand Down

0 comments on commit 43a1e8f

Please sign in to comment.