fix: make sure webpack its export, not the web one

This commit is contained in:
Christopher Willis-Ford 2024-03-11 10:44:40 -07:00
parent 4ebcd1f894
commit 830ef63f10

View file

@ -11,9 +11,9 @@
"sha": "1214f70b40476a2aa85fd68f26d1855c701a99ae" "sha": "1214f70b40476a2aa85fd68f26d1855c701a99ae"
}, },
"exports": { "exports": {
"webpack": "./src/index.js",
"browser": "./dist/web/scratch-vm.js", "browser": "./dist/web/scratch-vm.js",
"node": "./dist/node/scratch-vm.js", "node": "./dist/node/scratch-vm.js"
"webpack": "./src/index.js"
}, },
"scripts": { "scripts": {
"build": "npm run docs && webpack --progress", "build": "npm run docs && webpack --progress",