Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 938 Bytes

PARCEL.md

File metadata and controls

36 lines (24 loc) · 938 Bytes

Elm + Parcel

Start your Elm application

npm run start

✓ development build and web server with Parcel
✓ hot code swapping with elm-hot

Build for production

npm run build

✓ production build with Parcel
✓ compilation with the Elm optimize flag
✓ minification with terser

💡 The JS code from Elm is minified with special flags that work for Elm apps because they have no side-effects (otherwise it would be unreliable to use such flags).

Testing

Edit cypress.json to use the 1234 Parcel dev server port (instead of the 8888 Netlify Dev port):

{
  "baseUrl": "http://localhost:1234"
}

Learn more in README.md.