vite-plugin-rebundle 1.2.11 → 1.2.12

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.
Files changed (2) hide show
  1. package/dist/rebundle.js +1 -0
  2. package/package.json +1 -1
package/dist/rebundle.js CHANGED
@@ -117,6 +117,7 @@ export class Rebundle extends $utils.Unit {
117
117
  result = await $esbuild.build({
118
118
  sourcemap: Boolean(this.config.build.sourcemap),
119
119
  ...chunkBuildOptions,
120
+ format: 'esm',
120
121
  outfile: chunkPath,
121
122
  entryPoints: [chunkPath],
122
123
  bundle: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vite-plugin-rebundle",
3
- "version": "1.2.11",
3
+ "version": "1.2.12",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "author": "imkost",