mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-08-12 06:20:15 -04:00
Add "browser" field to package.json
This informs webpack (say, in `scratch-gui`) about the web-targeted build output so that it can resolve dependencies correctly. This fixes build problems that became evident after merging #805.
This commit is contained in:
parent
6dffc0e512
commit
12acdefb5a
1 changed files with 1 additions and 0 deletions
|
@ -10,6 +10,7 @@
|
|||
"url": "git+ssh://git@github.com/LLK/scratch-vm.git"
|
||||
},
|
||||
"main": "./dist/node/scratch-vm.js",
|
||||
"browser": "./dist/web/scratch-vm.js",
|
||||
"scripts": {
|
||||
"build": "webpack --progress --colors --bail",
|
||||
"coverage": "tap ./test/{unit,integration}/*.js --coverage --coverage-report=lcov",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue