Include Webpack and use it for jQuery, Bootstrap and chosen.js
This commit is contained in:
@ -11,7 +11,7 @@ Rails.application.config.tap do |config|
|
||||
|
||||
# Highlight.js
|
||||
config.assets.precompile += %w( highlight.min.js )
|
||||
config.assets.precompile += %w( highlight-default.min.css )
|
||||
config.assets.precompile += %w( highlight-default.css )
|
||||
|
||||
# d3.tip
|
||||
config.assets.precompile += %w( d3-tip.js )
|
||||
@ -19,7 +19,7 @@ Rails.application.config.tap do |config|
|
||||
# Add additional assets to the asset load path.
|
||||
# config.assets.paths << Emoji.images_path
|
||||
# Add Yarn node_modules folder to the asset load path.
|
||||
# config.assets.paths << Rails.root.join('node_modules')
|
||||
config.assets.paths << Rails.root.join('node_modules')
|
||||
|
||||
# Precompile additional assets.
|
||||
# application.js, application.css, and all non-JS/CSS in the app/assets
|
||||
|
Reference in New Issue
Block a user