Skip to content

Commit

Permalink
Load node_modules when compiling assets
Browse files Browse the repository at this point in the history
  • Loading branch information
vividmuimui committed Nov 12, 2018
1 parent 47b14a6 commit 446df6c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/initializers/assets.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

# Add additional assets to the asset load path.
# Rails.application.config.assets.paths << Emoji.images_path
Rails.application.config.assets.paths << Rails.root.join('node_modules')

# Precompile additional assets.
# application.js, application.css, and all non-JS/CSS in the app/assets
Expand Down

0 comments on commit 446df6c

Please sign in to comment.