We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6cb967a commit 609b525Copy full SHA for 609b525
package.json
@@ -10,8 +10,11 @@
10
"url": "https://github.com/scratchfoundation/scratch-vm.git",
11
"sha": "e7962b101d669f70146dc9cc455a7925523fb8d2"
12
},
13
- "main": "./dist/node/scratch-vm.js",
14
- "browser": "./src/index.js",
+ "exports": {
+ "browser": "./dist/web/scratch-vm.js",
15
+ "node": "./dist/node/scratch-vm.js",
16
+ "webpack": "./src/index.js"
17
+ },
18
"scripts": {
19
"build": "npm run docs && webpack --progress",
20
"coverage": "tap ./test/{unit,integration}/*.js --coverage --coverage-report=lcov",
0 commit comments