Skip to content
Snippets Groups Projects
Commit 1879865c authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

improve source map generation in dev mode, fixes #4790

Closes #4790

Merge request studip/studip!3583
parent 1696cdfb
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@ const statusesPaths = {
module.exports = merge(common, {
mode: 'development',
devtool: 'eval-cheap-module-source-map',
devtool: false,
plugins: [
new webpack.WatchIgnorePlugin({
paths:[
......@@ -28,5 +28,10 @@ module.exports = merge(common, {
excludeWarnings: true,
contentImage: statusesPaths,
}),
new webpack.SourceMapDevToolPlugin({
test: /\.css$/i,
filename: null,
append: '/*# sourceMappingURL=[url] */',
}),
],
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment