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>
This commit is contained in:
parent
82d4ff0284
commit
666e7934a6
9 changed files with 19 additions and 4 deletions
2
Gemfile
2
Gemfile
|
|
@ -126,3 +126,5 @@ group :test do
|
|||
gem 'rswag-specs'
|
||||
gem 'hashie', '~> 3.4.6', require: false # https://github.com/westfieldlabs/apivore/issues/114
|
||||
end
|
||||
|
||||
gem "importmap-rails", "~> 1.1"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue