Skip to content

Commit 75d4ba3

Browse files
authored
Updating Webpack packages (#4639)
* Updating Webpack packages * Changelog and readme entries * Removing unnecessary webpack-cli package * Putting the webpack-cli package back * Fix webpack config * Bumping wordress/scripts * Reverting wordpress/scripts upgrade * Fix pot references error
1 parent afcacab commit 75d4ba3

File tree

6 files changed

+3882
-1357
lines changed

6 files changed

+3882
-1357
lines changed

bin/update-pot-file-references.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ function load_js_transpiling_source_maps(): array {
8989
}
9090

9191
foreach ( $file_json[ 'sources' ] as $source ) {
92-
$source = preg_replace( '%^webpack:///\./(client/.*)$%', '${1}', $source );
92+
$source = preg_replace( '%^webpack://\./(client/.*)$%', '${1}', $source );
9393
if ( 'webpack' !== substr( $source, 0, 7 ) ) {
9494
$mappings[ $source ][] = $file_json[ 'file' ];
9595
}

changelog.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
*** Changelog ***
22

33
= 9.9.0 - xxxx-xx-xx =
4+
* Dev - Upgrades the Webpack-related packages
45
* Dev - Adds debug information to the Payment Intent object metadata
56
* Dev - Upgrade the cross-env and rimraf NPM packages; remove chromedriver NPM dependency
67
* Dev - Removes three unused NPM script commands: `test`, `test:grep`, and `test:single`

0 commit comments

Comments
 (0)