web/extension: Use source-map as webpack devtool for debug builds

This commit is contained in:
riku-42 2024-07-11 15:39:43 +08:00 committed by Nathan Adams
parent d7a46b1eb2
commit e93cf15b7c
1 changed files with 1 additions and 0 deletions

View File

@ -125,6 +125,7 @@ export default function (/** @type {Record<string, any>} */ env, _argv) {
optimization: {
minimize: false,
},
devtool: mode === "development" ? "source-map" : false,
plugins: [
new CopyPlugin({
patterns: [