We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5740f0 commit 5eba684Copy full SHA for 5eba684
README.md
@@ -153,8 +153,8 @@ You can combine multiple import maps by drawing their definitions onto the `Rail
153
module MyEngine
154
class Engine < ::Rails::Engine
155
# ...
156
- initializer "my-engine.importmap" do |app|
157
- app.config.importmap.draw(Engine.root.join("config/importmap.rb"))
+ initializer "my-engine.importmap", after: "importmap" do |app|
+ app.importmap.draw(Engine.root.join("config/importmap.rb"))
158
end
159
160
0 commit comments