Skip to content

Commit

Permalink
Add sprockets-es6 for .es6 support in asset pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
srih4ri committed Jun 23, 2015
1 parent 800d5b2 commit 4425bbe
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 22 deletions.
6 changes: 3 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ gem 'rails', '4.2.1'
gem 'arel'
gem 'jquery-rails'

gem 'sprockets-rails', '3.0.0.beta1'
gem 'sprockets-rails'
gem 'sass-rails', '>= 5.0.3'
gem 'uglifier', '>= 2.7.1'

# database
gem 'pg'

# use "strict mode" in JavaScript
gem 'sprockets-strict-mode'
# Sprockets support for .es6 files, using babel.
gem 'sprockets-es6', require: 'sprockets/es6'

# for building JSON
gem 'jbuilder', '>= 2.2.13'
Expand Down
35 changes: 18 additions & 17 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ GEM
autoprefixer-rails (5.1.7)
execjs
json
babel-source (5.6.3)
babel-transpiler (0.7.0)
babel-source (>= 4.0, < 6)
execjs (~> 2.0)
bcrypt (3.1.10)
binding_of_caller (0.7.2)
debug_inspector (>= 0.0.1)
Expand Down Expand Up @@ -145,7 +149,6 @@ GEM
actionpack (>= 3.2, < 5)
activesupport (>= 3.2, < 5)
hashr (0.0.22)
hike (1.2.3)
honeybadger (2.0.11)
html2haml (2.0.0)
erubis (~> 2.7.0)
Expand All @@ -167,7 +170,7 @@ GEM
thor (>= 0.14, < 2.0)
jquery-ui-rails (5.0.3)
railties (>= 3.2.16)
json (1.8.2)
json (1.8.3)
kaminari (0.16.3)
actionpack (>= 3.0.0)
activesupport (>= 3.0.0)
Expand All @@ -181,13 +184,13 @@ GEM
activerecord (>= 2.3)
mime-types (2.5)
mini_portile (0.6.2)
minitest (5.6.1)
minitest (5.7.0)
minitest-reporters (1.0.11)
ansi
builder
minitest (>= 5.0)
ruby-progressbar
multi_json (1.11.0)
multi_json (1.11.1)
nokogiri (1.6.6.2)
mini_portile (~> 0.6.0)
orm_adapter (0.5.0)
Expand All @@ -196,7 +199,7 @@ GEM
activerecord (>= 3.0)
quiet_assets (1.1.0)
railties (>= 3.1, < 5.0)
rack (1.6.1)
rack (1.6.4)
rack-protection (1.5.3)
rack
rack-test (0.6.3)
Expand Down Expand Up @@ -264,17 +267,15 @@ GEM
rack-protection (~> 1.4)
tilt (~> 1.3, >= 1.3.4)
spring (1.3.3)
sprockets (2.12.3)
hike (~> 1.2)
multi_json (~> 1.0)
sprockets (3.2.0)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
sprockets-rails (3.0.0.beta1)
actionpack (>= 4.0)
activesupport (>= 4.0)
sprockets (~> 2.8)
sprockets-strict-mode (1.0)
sprockets
sprockets-es6 (0.6.2)
babel-transpiler
sprockets (>= 3.0.0)
sprockets-rails (2.3.2)
actionpack (>= 3.0)
activesupport (>= 3.0)
sprockets (>= 2.8, < 4.0)
thin (1.6.3)
daemons (~> 1.0, >= 1.0.9)
eventmachine (~> 1.0)
Expand Down Expand Up @@ -332,8 +333,8 @@ DEPENDENCIES
simple_form
simplecov
spring
sprockets-rails (= 3.0.0.beta1)
sprockets-strict-mode
sprockets-es6
sprockets-rails
thin
uglifier (>= 2.7.1)
unicorn
Expand Down
2 changes: 0 additions & 2 deletions config/initializers/enable_strict_mode_in_javascript.rb

This file was deleted.

0 comments on commit 4425bbe

Please sign in to comment.