-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Problem
Noticed this when the Inspector is opened with Chrome and when the Debugger is opened with Firefox.
[debug] ** (Phoenix.Router.NoRouteError) no route found for GET /assets/phoenix.mjs.map
This is due to sourcemap references in served JS files causing the devtools to attempt to load these files.
Solution
Not sure it's a good idea to analyse the JS files themselves for sourcemap references, but we could provide a mechanism to declare sourcemap files to also be copied to /priv/static/assets.
For example this works naievely by adding an additional importmap declaration:
phoenix_map: "/deps/phoenix/priv/static/phoenix.mjs.map",
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working