Temporary fix to skip scope-hoisting bug in parcel.
Bump some package versions.
... | @@ -12,14 +12,14 @@ | ... | @@ -12,14 +12,14 @@ |
}, | }, | ||
"release": { | "release": { | ||
"distDir": "build/release/", | "distDir": "build/release/", | ||
"sourceMap": false, | "sourceMap": true, | ||
"optimize": true | "optimize": true | ||
} | } | ||
}, | }, | ||
"scripts": { | "scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1", | "test": "echo \"Error: no test specified\" && exit 1", | ||
"watch": "parcel watch index.js", | "watch": "parcel watch index.js --target debug", | ||
"build": "parcel build index.js --target release && gulp build" | "build": "parcel build index.js --target release --no-scope-hoist && gulp build" | ||
}, | }, | ||
"repository": { | "repository": { | ||
"type": "git", | "type": "git", | ||
... | @@ -41,13 +41,13 @@ | ... | @@ -41,13 +41,13 @@ |
"gulp": "^4.0.2", | "gulp": "^4.0.2", | ||
"gulp-replace": "^1.1.3", | "gulp-replace": "^1.1.3", | ||
"gulp-zip": "^4.2.0", | "gulp-zip": "^4.2.0", | ||
"parcel": "^2.0.0-rc.0", | "parcel": "^2.0.1", | ||
"prettier": "^2.3.2" | "prettier": "^2.3.2" | ||
}, | }, | ||
"dependencies": { | "dependencies": { | ||
"3d-force-graph": "^1.70.5", | "3d-force-graph": "^1.70.5", | ||
"force-graph": "^1.42.2", | "force-graph": "^1.42.4", | ||
"jquery": "^3.6.0", | "jquery": "^3.6.0", | ||
"three": "^0.131.2" | "three": ">=0.118.3" | ||
} | } | ||
} | } |
Please register or sign in to comment