Skip to content

Instantly share code, notes, and snippets.

@Aupajo
Last active August 29, 2015 14:02
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save Aupajo/33851d58b900c696ef8a to your computer and use it in GitHub Desktop.

Ideas:

  • Remove vendor/assets from Sprockets environment
  • Spin up a browserify process that can compile a specific JS when asked
  • Add a require lookup mechanism that can understand bower/npm manifest
  • Add browersify hook to compile JS as a Sprockets post-processor

Goal:

what I'd like to do: use a combination of bower, npm, or vendor/assets for front-end deps, use browserify for JS compilation, use sprockets for CSS and asset hashes also some kind of sensible JS manifest that doesn't require Rails' config.assets.precompile to be set separately

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