Skip to content

Commit

Permalink
[package.json] Use --no-scope-hoist --no-minify for production bui…
Browse files Browse the repository at this point in the history
…lds.

This is a workaround a temporary workaround for a bug that is caused indirectly by our `puzzles` implementation (possibly parcel-bundler/parcel#4389).
  • Loading branch information
lgarron committed Jan 19, 2021
1 parent 83126a8 commit 134f1b2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@
"setup": "npm install",
"lint": "npx eslint .",
"prepack": "npm run clean && npm run build && npm run test-node-require && npm run test-node-import",
"parcel-build-for-twizzle-net": "parcel build --target twizzle-net --public-url ./ --dist-dir dist/twizzle.net/explore src/demo/twizzle/index.html",
"parcel-build-for-vr-cubing-net": "parcel build --target vr-cubing-net --public-url ./ --dist-dir dist/experiments.cubing.net/vr src/demo/vr/index.html",
"parcel-build-for-experiments-cubing-net": "parcel build --target experiments-cubing-net --public-url /cubing.js/ --dist-dir dist/experiments.cubing.net/cubing.js src/demo/index.html"
"parcel-build-for-twizzle-net": "parcel build --no-scope-hoist --no-minify --target twizzle-net --public-url ./ --dist-dir dist/twizzle.net/explore src/demo/twizzle/index.html",
"parcel-build-for-vr-cubing-net": "parcel build --no-scope-hoist --no-minify --target vr-cubing-net --public-url ./ --dist-dir dist/experiments.cubing.net/vr src/demo/vr/index.html",
"parcel-build-for-experiments-cubing-net": "parcel build --no-scope-hoist --no-minify --target experiments-cubing-net --public-url /cubing.js/ --dist-dir dist/experiments.cubing.net/cubing.js src/demo/index.html"
},
"targets": {
"twizzle-net": {},
Expand Down

0 comments on commit 134f1b2

Please sign in to comment.