Comments (4)
Initially, I've been using Browserify because it's simple and requires no configuration. I meant to extract it as a plugin once I had a plugin system in place, but it's proving to be rather a fundamental feature, so I'll probably keep it in the core.
I've got some PS projects building with Webpack, and the improvement is quite considerable, but so is the level of configuration needed. I think I'll keep Browserify as the default because of this, but I'll definitely be adding some sort of Webpack capability to Pulp in the future - probably only after adding a plugin system, because Webpack has a considerable dependency graph that I'm not keen on inflicting on every Pulp user.
Browserify has some facility for doing incremental builds too, which might be worth investigating, but right now Pulp's watch mechanism doesn't even support that sort of thing.
from pulp.
If you're all-in on front-end development I agree webpack is a better tool although yes I agree it does come with a lot of baggage and configuration.
@codygman you may want to look at the purs-loader. With this you can use webpack as your build/watch tool which in turn uses the purs-loader to compile your purescript files. I've done in this in mixed js/purs projects and it works well.
from pulp.
I think I'll close this one now, as pulp browserify
got support for incremental builds. I'd rather leave direct Webpack support for when there's a plugin architecture.
from pulp.
Oooh, I'll have to try out the incremental build support. That's really the
only reason I wanted to tryout webpack anyway :P
On Mon, Jul 27, 2015 at 3:28 PM, Bodil Stokke [email protected]
wrote:
—
Reply to this email directly or view it on GitHub
#45 (comment).
from pulp.
Related Issues (20)
- Building dependencies only or first HOT 1
- is there a way to build only dependencies? HOT 1
- Allow pulp init with superuser access
- Unable to run pulp init using volta which shims purs into my path HOT 11
- Lua backend HOT 1
- psc-package asks for bower.json OR psc-package.json and then requires bower.json anyway HOT 2
- Have trouble to specify license to run `pulp version` HOT 3
- Dead link in README.md (using npm as your build tool)
- Pulp test no longer seems to work with purs 0.13.8 HOT 5
- Suggest Spago in README
- `pulp publish` doesn't support --dry-run HOT 2
- Add support for publishing to the PureScript registry
- Add support for upcoming 0.15.0 PureScript release
- Remove bower re-install code in `integration.js` HOT 1
- Determine how bundling works with PureScript v0.15.0 version HOT 2
- Versioning confusion HOT 5
- Fix the documentation on releasing packages HOT 4
- Drop the `devDependencies` check when publishing on PureScript `0.15.2` or greater
- `pulp publish` fails for large bower resolution file
- How can I get the docs generator to just generate docs for my files HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pulp.