Skip to content
This repository has been archived by the owner on Mar 20, 2018. It is now read-only.

JavaScript concatenation and minification #22

Open
3 tasks
hmans opened this issue Jan 24, 2017 · 1 comment
Open
3 tasks

JavaScript concatenation and minification #22

hmans opened this issue Jan 24, 2017 · 1 comment

Comments

@hmans
Copy link
Owner

hmans commented Jan 24, 2017

So, yeah, we need this stuff. Forcing people to just set up Webpack is not an option; this should be done by Flutterby out of the box.

Ideally, this would be implemented as a filter extension. For example, if we establish packager as the filter extension, your main JavaScript file could be /js/app.js.packager; this file could then load JavaScript files from another (private) directory, bundle them, and export them as /js/app.js.

Here's a quick todo list:

  • investigate if any part of Sprockets may be reused for this
  • find good concatenation/minification/etc. gems
  • figure out a DSL (or any other configuration syntax) for .packager files

Potentially relevant gems:

@hmans hmans self-assigned this Jan 24, 2017
@hmans hmans changed the title Figure out JavaScript concatenation and minification JavaScript concatenation and minification Jan 24, 2017
@hmans
Copy link
Owner Author

hmans commented Jan 24, 2017

Got a naive implementation working here... \o/

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

No branches or pull requests

1 participant