Regression: Build Error: Don't know how to insertURL for sourcemaps
See original GitHub issueAfter 99a3202:
- Run
ember build
with sourcemaps:
webpackConfig: {
devtool: 'source-map',
}
- Experience Build Error:
Build Error (PackagerRunner)
don't know how to insertURL /assets/chunk.9487b3713b2712e9dae6.js.map
Build does not break before 99a320288ac0b91ea9c8b962c73dace004f31fae. Probably caused by fallthrough condition url.endsWith('.js')
for js.map
. See https://github.com/embroider-build/embroider/commit/99a320288ac0b91ea9c8b962c73dace004f31fae#diff-f6871a419b7638a206e71923afc7910d1a3252cdfa5c563a5fb7e455063146b0L44-L54:
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
enable-source-maps is unnecessarily slow with large ... - GitHub
I know --enable-source-maps is experimental and it's maybe an edge case, because the js files are only large enough the show the effect...
Read more >Sourcemaps are detected in chrome but original source is not ...
Open up the source map via url and look for the sources property for the original file name: ... If you don't see...
Read more >1437937 - WebExtensions Doesn't Find Source Maps
Click debugger link for current extension. Look at the Deugger source when I've locked the popup open. Actual results: The console shows a...
Read more >Troubleshooting Source Maps for JavaScript
Troubleshooting Source Maps · Verify a release is configured in your SDK · Verify artifacts are uploaded · Verify sourceMappingURL is present ·...
Read more >508270 - Source maps cache not refreshed - chromium
However, I still would expect Chrome to handle source map caching. ... I don't know if this helps at all, but we too...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Closing, as source maps does not seem to be referenced in
index.html
anymore when building withv0.43
.Which means that #734 can be closed too I guess, @naiyt, I you experience the same as me.
@naiyt Thanks. The fix is quite specific, but it does the job.
@ef4 If you don’t see any obvious shortcomings to #734, it would be great to have it merged in, as now any project with sourcemaps is stranded on
v <= 35.1
.