Closed texastoland closed 8 years ago
@paf31 This one is core in Elm but follows PS Bin on my personal todo regardless. Feel free to close.
This would be big for me if it worked well with other CommonJS things like Babel. Anything that makes it easier to add one or two lone PS files to an existing project will be a huge evangelism win too. It's a weak point for Elm.
^ That's why I think it should be official :) As old as Brunch is I'm not aware of another generic build-by-convention tool. They are either too general (Grunt, Gulp, NPM scripts) or too specific (every static site generator). It immediately follows PS Bin on my personal todo list in term of priorities (a couple parsing changes are in front).
Yeah, you could also do webpack or browserify transforms, but they have more complicated/limited apis while also being less general than brunch. Brunch seems like the right layer to fit into.
Putting this here for reference: https://github.com/rtfeldman/elm-webpack-loader
It was already in the back of my mind when I read this, and now webpack has been mentioned 😀
:raised_hands:
Yeah, I've had mixed results with it. It fits better into the JS ecosystem than PS. For example you can't use the dead code elimination anymore (unless that's changed recently). Brunch might have the same problems though.
💥 I've been collecting thoughts what it would take to make PureScript a viable tool for consulting services (compiler stability aside). They revolve primarily around community building (hence the upcoming remote meetups), first-in-class tooling (hence this ticket), and accessible (both locatable and approachable) educational resources (upcoming Egghead videos just waiting for beginner friendly tools I'm hacking on). Would y'all be interested in me surfacing them somehow?
This is my immediate priority following PS Bin and Witherable
but perhaps not a core utility. Closing here but keeping on my personal list.
PureScript takes a bit of manual work to get started with. Perhaps a Brunch plugin and skeleton could wrap other recommended tools like psa or psc-pane, Pulp, etc. Ideally it would seamlessly compile FFI with Babel or TypeScript too. Inspired by elm-brunch and elm-brunch-starter.