mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-23 01:58:29 +00:00
Fix source map generation in projects that also use ExtractTextPlugin
This commit is contained in:
@@ -4,7 +4,7 @@ module.exports = {
|
||||
plugins: [
|
||||
// Plugins that apply in development builds only
|
||||
new webpack.SourceMapDevToolPlugin({
|
||||
filename: '[name].js.map', // Remove this line if you prefer inline source maps
|
||||
filename: '[file].map', // Remove this line if you prefer inline source maps
|
||||
moduleFilenameTemplate: path.relative('./wwwroot/dist', '[resourcePath]') // Point sourcemap entries to the original file locations on disk
|
||||
})
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user