vite-plugin-rebundle 1.16.0 → 1.17.0

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/dist/rebundle.js CHANGED
@@ -96,7 +96,7 @@ var Rebundle = class {
96
96
  })
97
97
  );
98
98
  for (const chunk of this.getChunks(bundle)) {
99
- this.originals[this.unprefixed(chunk.fileName)] = chunk.code;
99
+ this.originals[chunk.fileName] = chunk.code;
100
100
  if (this.isRolldownVite) delete bundle[chunk.fileName];
101
101
  }
102
102
  await rm(join(this.dist, this.ORIGINALS_DIR), { recursive: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vite-plugin-rebundle",
3
- "version": "1.16.0",
3
+ "version": "1.17.0",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "author": "imkost",
package/src/rebundle.ts CHANGED
@@ -135,7 +135,7 @@ export class Rebundle {
135
135
 
136
136
  for (const chunk of this.getChunks(bundle)) {
137
137
  // Save original chunk code
138
- this.originals[this.unprefixed(chunk.fileName)] = chunk.code
138
+ this.originals[chunk.fileName] = chunk.code
139
139
 
140
140
  // Delete chunk from the bundle to hide Vite's output log
141
141
  if (this.isRolldownVite) delete bundle[chunk.fileName]