Use webpack to deliver newest d3-tip.js, highlight.js and vis.js

This commit is contained in:
Sebastian Serth
2018-10-09 11:55:51 +02:00
parent 72d0f7585e
commit dd0f56659e
19 changed files with 121 additions and 511 deletions

View File

@ -5,17 +5,6 @@ Rails.application.config.tap do |config|
# Version of your assets, change this if you want to expire all your assets.
config.assets.version = '1.0'
# vis.js
config.assets.precompile += %w( vis.min.js )
config.assets.precompile += %w( vis.min.css )
# Highlight.js
config.assets.precompile += %w( highlight.min.js )
config.assets.precompile += %w( highlight-default.css )
# d3.tip
config.assets.precompile += %w( d3-tip.js )
# Add additional assets to the asset load path.
# config.assets.paths << Emoji.images_path
# Add Yarn node_modules folder to the asset load path.