Using Elm and Parcel for zero configuration web asset management


#1

We’ve recently ditched Webpack for Parcel and I wanted to write a short guide on how to get started and what a difference it makes.

Let me know if you have some questions :slight_smile:


#2

I’ve amended the blog post with a HMR plugin for parcel: https://github.com/ktosiek/parcel-plugin-elm-hot

Happy asseting :slight_smile:


#3

I’ve switched to Parcel recently too. It’s quite amazing: I’ve haven’t wrote a single line of configuration!


#4

Thanks for your “short post” re Parcel & Elm. It works great. But I’ll miss the Elm debugger. Can you elaborate on what you meant by:

--debug when using a server (this change hasn’t been released yet)

I understand that node-elm-compiler is being used under the covers, but I can’t work out how it’s being called. It’s docs indicate that –debug support was dded in v4.0.0, so who is it that must release the change?

Regards…


#5

Hi @CSSian,

there’s https://github.com/parcel-bundler/parcel/commit/3bc7062d4cdf5547884f75806dd428fe5d5546a8, so you can install parcel from the master branch (or wait until the release).


#6

I see. Yeah, there is quite a bit of chatter in Parcel’s github issues on this.
Thanks very much for the link!


#7

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.