026c3a6285
* introduce importmaps This commit introduces importmaps. They allow to use modern javacript ESM within rails without webpack, yarn etc. see https://github.com/rails/importmap-rails for more details. Co-authored-by: Philipp Rothmann <philipprothmann@posteo.de> Co-authored-by: FGU <fgu@pragma-shift.net> * fix: rubocop violations --------- Co-authored-by: FGU <fgu@pragma-shift.net>
12 lines
515 B
Ruby
12 lines
515 B
Ruby
# Be sure to restart your server when you modify this file.
|
|
|
|
# Version of your assets, change this if you want to expire all your assets.
|
|
Rails.application.config.assets.version = '1.0'
|
|
|
|
# Add additional assets to the asset load path.
|
|
# Rails.application.config.assets.paths << Emoji.images_path
|
|
|
|
# Precompile additional assets.
|
|
# application.js, application.css, and all non-JS/CSS in the app/assets
|
|
# folder are already added.
|
|
Rails.application.config.assets.precompile += %w[application_legacy.js jquery.min.js]
|