Skip to content

Commit

Permalink
Merge pull request #779 from openSUSE/keep-source-map
Browse files Browse the repository at this point in the history
[web] Do not delete source map from production build
  • Loading branch information
imobachgs authored Sep 29, 2023
2 parents f39b3b0 + 3264f51 commit c47701d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions web/package/cockpit-agama.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Sep 29 08:04:01 UTC 2023 - David Diaz <[email protected]>

- Do not drop source maps from production build
(gh/openSUSE/agama#779)

-------------------------------------------------------------------
Wed Sep 27 12:15:13 UTC 2023 - José Iván López González <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion web/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ if (stylelint) {
if (production) {
plugins.unshift(new CompressionPlugin({
test: /\.(js|html|css)$/,
deleteOriginalAssets: true
deleteOriginalAssets: "keep-source-map"
}));
}

Expand Down

0 comments on commit c47701d

Please sign in to comment.