-
Notifications
You must be signed in to change notification settings - Fork 249
Evalutate the possibility to make webpack optional #517
Comments
Interesting idea. What about webpack 2. Are there any performance gains to be had there? The power behind webpack is the large ecosystem of plugins. If phenomic moves to its own "build" will all custom loaders will need to be rewritten? Both might be good (or confusing to people) :)
|
No big change with webpack 2. The api can be: if there is a webpack config file, then build with webpack. If there is none, build without :) |
The thing I didn't mention is that something like browserify will be at least required. |
As you talked about browserify, what about roll up? |
why not :) |
Going to be fixed with #925 |
Fixed in master. v1 might have a browserify example (mostly for fun) |
Eg: React + inlines styles (+ inline svg as jsx) can works with just babel.
Babel can works without webpack (require hook). So in theory, this can works without webpack. So will make things WAY FASTER. Like A LOT.
You will say "what about .md?". I will say: the loader is pretty simple and stupid, and we can probably extract the logic outside it, and make a simple watcher that update a single JS. The thing is: what about hot loading? We can take a look to "cold loading" https://github.com/chromakode/isolated-core and see if this can works, since we have a store (even if it will become private).
We can allow both method: with webpack, and without.
Thoughts?
The text was updated successfully, but these errors were encountered: