Skip to content

Instantly share code, notes, and snippets.

@matthewlehner
Created October 26, 2015 19:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matthewlehner/bf080aab6254d0c5268f to your computer and use it in GitHub Desktop.
Save matthewlehner/bf080aab6254d0c5268f to your computer and use it in GitHub Desktop.
SystemJS config for sprockets-es6
config.assets.configure do |env|
env.register_transformer 'text/ecmascript-6',
'application/javascript',
Sprockets::ES6.new('modules' => 'system',
'moduleIds' => true)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment