Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
postinstall: set node_modules/handlebars/package.json .browser.fs=false
to prevent Parcel to crash with: "node_modules/handlebars/lib/index.js:18:39: Cannot statically evaluate fs argument" due to Handlebars use of 'fs.readFileSync', when used without precompile: somehow, Parcel doesn't figure-out that we won't need this piece of code and thus tries to inline the code to prevent to rely on fs.readFileSync, which isn't available in the browser See parcel-bundler/parcel#496 and parcel-bundler/parcel#523
- Loading branch information