ubc-carnap-team / Rudolf

Truth Tree Widget for Carnap
2 stars 3 forks source link

Simplify build processes #101

Open McTano opened 3 years ago

McTano commented 3 years ago

Currently the demo hosted on github uses the react-scripts build process, instead of the simple parcel build that we distribute on unpkg.

Ideally, all builds, including the hot-reloading dev build run by yarn start would all use parcel to build.

If we do that we could probably eject from create-react-app and pare down the dependencies a bit.

McTano commented 3 years ago

It may not be possible to get the Carnap shim in the demo to work with parcel because parcel does not support ignoring precompiled javascript files. Compiling the all.js file will crash.

McTano commented 3 years ago

This should be reevaluated now that jade has reduced the ghc-js build size. Parcel may be able to handle the smaller compiled ghcjs output.