wondering if - at least for CDN versions - there's a way of suppressing sourcemap references to files which aren't available (and result in 403 responses, which get silently absorbed by Chrome/Firefox/Safari dev tools but are - correctly? - exposed by Edge's dev tools) - see http://stackoverflow.com/questions/35142485/why-is-bootstrap-trying-to-load-less-files-in-edge/35151109
/cc @mdo @cvrebert
I think there's a config option somewhere to stuff copies of the source files into the sourcemap itself so it doesn't reference any external files. We could try that.
@patrickhlauke @cvrebert any updates?
@jdorfman, i think @cvrebert is your man on this one, as I have zero clue about grunt, sourcemaps, etc
I'm currently in transit. Will have a go at this in a couple hours when I reach my destination though.
@cvrebert let me know if @jmervine can be of any assistance. Thanks
Fixed in v3 via #20258.
A v4 fix is still on our TODO.
Was this ever addressed for v4?
Gah, tried to straight move it over and in my rush missed all the Grunt errors :grin:. Will revisit for v4.
I think package.json section should include js.map files
"files": [
".babelrc",
".eslintignore",
"Gruntfile.js",
"dist",
"build",
"js/.eslintrc.json",
"js/**/*.js",
"js/**/*.js.map", //source-map
"scss/.scss-lint.yml",
"scss/**/*.scss",
"LICENSE"
],
I believe I have enabled all the related switches without knowing about this issue some time ago (see #23255), and source files are embedded in map files.
@Delagen: you are welcome to make a new issue or a PR.