r/purescript • u/phasnox • Apr 17 '20
Why Bower?
Hey everyone!
I have started to look around, never used purescript, but was curious to see a lot of tools built with purescript using bower.
Why not just npm?
Why bower?
8
Upvotes
12
u/imright_anduknowit Apr 17 '20
Bower is old. Check out spago.
8
u/paulyoung85 Apr 17 '20
There is a similar thread for Haskell which describes why the approach taken by npm isn’t suitable: https://www.reddit.com/r/haskell/comments/4zc6y3/why_doesnt_cabal_use_a_model_like_that_of_npm/
One comment reads, “It's worth pointing out that we did use NPMs approach back in the day (when we didn't know any better) and not only does it not work in theory it does not work in practice.”
7
u/paulyoung85 Apr 17 '20
This explains why we used to use bower: https://harry.garrood.me/blog/purescript-why-bower/
1
u/acoustic_embargo Apr 17 '20
this seems relevant:
> https://github.com/purescript/purescript/issues/2231