Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use browserify with babelify for front-end JavaScript #1204

Open
marcobiedermann opened this issue Dec 13, 2016 · 1 comment
Open

Use browserify with babelify for front-end JavaScript #1204

marcobiedermann opened this issue Dec 13, 2016 · 1 comment

Comments

@marcobiedermann
Copy link
Collaborator

I suggest switching from concatenating JavaScript files to use a module bundler like Browserfy.
This way we could manage our dependencies more easily.
In this addition I suggest using some of the new ES2015 syntax features which will improve our code over all.

@stefanjudis
Copy link
Owner

Only when you compare the files before and after. ;)

Perf-tooling is neither a complicated thing nor are we shipping with a lot of JS or use heavy dependencies. Introducing browserify usually comes with additional "module" code (haven't used it very often though).

I have no idea - but currently we're shipping 7k JS (not gzipped). I'd like to see the change in size first, if that's okay. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants