There is no source map files for non-minified versions. Next files are missing:
You don't need source maps for unminified code do you?
If so - _sourceMappingURL_ comments should be removed from those files.
//# sourceMappingURL=maps/swiper.jquery.umd.js.map
Let's remove this, guys?)
I'm tired to see this in console:
.../maps/swiper.jquery.js.map/ Failed to load resource: the server responded with a status of 404 (Not Found)
I'm also experiencing 404 messages when including Swiper using Webpack:
鈥硷笌 404: No matching route found for /compiled/maps/swiper.js.map
Ping @nolimits4web
For anyone interested in this issue and is using Webpack. Using string-replace-loader will work as a temporary workaround:
{ // shim for libraries that are depending on a .map file (like Swiper)
// github.com/nolimits4web/Swiper/issues/1683#issuecomment-316825698
test: /\.js$/,
loader: 'string-replace-loader',
query: {
search: '//# sourceMappingURL=(.*?).map',
flags: 'gmi',
replace: ''
}
}
Issue is closed because of outdated/irrelevant/not actual/needed more information/inactivity.
If this issue is still actual and reproducible for latest version of Swiper, please create new issue and fill the issue template correctly:
Most helpful comment
Let's remove this, guys?)
I'm tired to see this in console:
.../maps/swiper.jquery.js.map/ Failed to load resource: the server responded with a status of 404 (Not Found)