selfup / hyperapp-one

Hyperapp One is a Parcel boilerplate for quickstarting a web application with Hyperapp (V1), JSX, and Prettier.

Home Page:https://selfup.github.io/hyperapp-one

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add minification plugin?

jorgebucaran opened this issue · comments

I guess we could go on and on with plugins to recommend, but it should feature at least a way to mangle and minify the code.

Side note: What about tree shaking? Does it work OTTB in Webpack@2?

I could take a look if you want! Then it wouldn't be such a simple repo though haha.

I am trying to keep things as simple as possible so that people can integrate what they want afterwards.

I will look into minifying the code (which would have to happen in bundle.js as well)

Ok check out #6 now I got to bed!

Awesome! Thanks @selfup.

No, need to get fancy, but if the user is already dabbling with webpack, might as well use the babili or something for mangling/minification, which is a must-have IMO.

Looking good.