mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-24 06:52:40 -05:00
fix(build): add main & browser back for compatibility
This commit is contained in:
parent
70552ee9e0
commit
7381425748
1 changed files with 2 additions and 0 deletions
|
@ -10,6 +10,8 @@
|
||||||
"url": "https://github.com/scratchfoundation/scratch-vm.git",
|
"url": "https://github.com/scratchfoundation/scratch-vm.git",
|
||||||
"sha": "aa445c3256b8f97a6da49dfb5a8cb7039dcf03fa"
|
"sha": "aa445c3256b8f97a6da49dfb5a8cb7039dcf03fa"
|
||||||
},
|
},
|
||||||
|
"main": "./dist/node/scratch-vm.js",
|
||||||
|
"browser": "./dist/web/scratch-vm.js",
|
||||||
"exports": {
|
"exports": {
|
||||||
"webpack": "./src/index.js",
|
"webpack": "./src/index.js",
|
||||||
"browser": "./dist/web/scratch-vm.js",
|
"browser": "./dist/web/scratch-vm.js",
|
||||||
|
|
Loading…
Reference in a new issue