Skip to content

Commit

Permalink
webpack-config: Default to 'source-map' in dev mode (#33924)
Browse files Browse the repository at this point in the history
It seems our developers have spoken: 25 webpack configs in the monorepo
have been setting webpack's `devtool` to 'source-map' for development
builds, while only 8 have used the default from webpack-config (and 2
are explicitly setting no devtool).

So let's change the default to 'source-map' so everything can be working
the same way.

Note this doesn't change anything for production builds, this is only
for development.

Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/6730930552
  • Loading branch information
anomiex authored and matticbot committed Nov 2, 2023
1 parent f4bc769 commit dcaa679
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "jetpack-library",
"license": "GPL-2.0-or-later",
"require": {
"automattic/jetpack-assets": "^1.18.13",
"automattic/jetpack-assets": "^1.18.14-alpha",
"automattic/jetpack-connection": "^1.58.2",
"automattic/jetpack-constants": "^1.6.23",
"automattic/jetpack-plans": "^0.3.5",
Expand Down

0 comments on commit dcaa679

Please sign in to comment.