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

On Precompile, transpile .es6 (ES6) extension to .js (ES5) by gem sprockets-es6 #243

Closed
wants to merge 5 commits into from
Closed

Conversation

chenxeed
Copy link

@chenxeed chenxeed commented Jul 9, 2015

This PR works only if you already install gem sprockets-es6

Enable requirejs precompile to read .es6 file extension to logical path pattern.

On create temporary file to requirejs, read .es6 file extension as .js so sprockets will convert those ES6 scripts to ES5.

@chenxeed chenxeed changed the title Precompile .es6 (ES6) extension that is precompiled to .js (ES5) by gem sprockets-es6 On Precompile, transpile .es6 (ES6) extension to .js (ES5) by gem sprockets-es6 Jul 10, 2015
@chenxeed chenxeed closed this Sep 4, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant