Recommended VSCode Extensions
Install these by opening the extensions panel in the side bar and searching for them
git clone https://github.com/pigmice2733/peregrine-frontend
npm startStarts a local server with HMR on port
npm run buildCreates an optimized build with code splitting (output is still readable)
NODE_ENV=production npm run buildCreates an optimized build with code splitting (output is mangled and not readable)
We are using Parcel as our development bundler/server, because it is fast and supports HMR (automatically injecting changes into a running site). We are using Rollup in production because it is able to make highly optimized bundles with scope hoisting, tree shaking, and code splitting.