@plaudit/webpack-extensions 2.96.0 → 2.96.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -60,6 +60,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
60
60
  - Legacy PostCSS features that have been integrated into modern CSS
61
61
  - `@extends` support
62
62
 
63
+ ## [2.96.1] - 2026-08-10
64
+ ### Fixed
65
+ - An error in how externalized dependencies were resolved that caused jquery to never be emitted as a depenedency
66
+
63
67
  ## [2.96.0] - 2026-08-07
64
68
  ### Added
65
69
  - A port of WordPress's Dependency Extraction Webpack Plugin because they keep breaking it
@@ -308,7 +308,10 @@ class EnhancedDependencyExtractionWebpackPlugin {
308
308
  * @param {boolean} [fromAsyncChunk] Module was found in an async chunk of the entry.
309
309
  */
310
310
  const processModule = (m, fromAsyncChunk) => {
311
- const viableRequest = typeof m.request === 'string' && m.request !== '__REMOVE_ME__' ? m.request : m.userRequest;
311
+ let viableRequest = typeof m.request === 'string' && m.request !== '__REMOVE_ME__' ? m.request : m.userRequest;
312
+ if (viableRequest !== undefined && !this.externalizedDeps.has(viableRequest) && viableRequest !== m.userRequest) {
313
+ viableRequest = m.userRequest;
314
+ }
312
315
  if (viableRequest !== undefined && this.externalizedDeps.has(viableRequest)) {
313
316
  if (this.useModules) {
314
317
  // A static occurrence (in the entry chunk) wins.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plaudit/webpack-extensions",
3
- "version": "2.96.0",
3
+ "version": "2.96.1",
4
4
  "license": "SEE LICENSE IN LICENSE.md",
5
5
  "repository": {
6
6
  "type": "git",