@meteorjs/rspack 0.0.38 → 0.0.39

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.
@@ -267,6 +267,14 @@ export function mergeSplitOverlap(...configs) {
267
267
  return splitOverlapRulesMerge(aRules, bRules);
268
268
  }
269
269
 
270
+ // Ensure custom extensions first
271
+ if (key === 'resolve.extensions') {
272
+ const aRules = Array.isArray(a) ? a : [];
273
+ const bRules = Array.isArray(b) ? b : [];
274
+ const merged = [...bRules, ...aRules];
275
+ return [...new Set(merged)];
276
+ }
277
+
270
278
  // Handle plugins uniqueness
271
279
  if (key === 'plugins') {
272
280
  return unique(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meteorjs/rspack",
3
- "version": "0.0.38",
3
+ "version": "0.0.39",
4
4
  "description": "Configuration logic for using Rspack in Meteor projects",
5
5
  "main": "index.js",
6
6
  "type": "module",