Skip to content

Commit

Permalink
chore: disable scope hoisting
Browse files Browse the repository at this point in the history
Due to a bug in parcel, static functions and properties don't work properly
when it is enabled. See: parcel-bundler/parcel#3664
  • Loading branch information
nfrechette committed May 15, 2020
1 parent 6e05833 commit 993b207
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -7,7 +7,7 @@
"browser": "src/app.js",
"scripts": {
"start": "electron .",
"build": "parcel build index.html --experimental-scope-hoisting --public-url .",
"build": "parcel build index.html --public-url .",
"build:registry": "curl https://rawgit.com/KhronosGroup/glTF-Generator-Registry/master/registry.json -o lib/gltf-generator-registry.json",
"package": "npm run package:windows && npm run package:mac && npm run package:linux",
"package:windows": "electron-packager . gltf-viewer --overwrite --asar --platform=win32 --arch=ia32 --icon=assets/icons/glTF-Viewer.ico --out=package --version-string.CompanyName=CE --version-string.FileDescription=CE --version-string.ProductName=\"glTF Viewer\"",
Expand Down

0 comments on commit 993b207

Please sign in to comment.