vite-plugin-rebundle 1.3.3 → 1.3.4

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.
@@ -6,8 +6,8 @@ import { Plugin } from 'vite';
6
6
  declare const _code_: unique symbol;
7
7
  declare const _sourcemap_: unique symbol;
8
8
  type RolldownOptions = {
9
- input: InputOptions;
10
- output: OutputOptions;
9
+ input?: InputOptions;
10
+ output?: OutputOptions;
11
11
  };
12
12
  type Options = {
13
13
  [bundleName: string]: RolldownOptions;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vite-plugin-rebundle",
3
- "version": "1.3.3",
3
+ "version": "1.3.4",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "author": "imkost",
@@ -10,7 +10,7 @@
10
10
  "vite-plugin"
11
11
  ],
12
12
  "scripts": {
13
- "build": "tsup src --format esm --dts --clean",
13
+ "build": "tsup src --format esm --dts --clean --no-splitting",
14
14
  "lint": "tsc --noEmit",
15
15
  "release": "sh -c 'npm version ${1:-patch} && npm run build && npm publish' --"
16
16
  },
@@ -27,7 +27,7 @@
27
27
  "dist"
28
28
  ],
29
29
  "dependencies": {
30
- "@eposlabs/utils": "^1.1.1",
30
+ "@eposlabs/utils": "^1.2.0",
31
31
  "@types/ws": "^8.18.1",
32
32
  "chalk": "^5.6.2",
33
33
  "filesize": "^11.0.13",
package/src/rebundle.ts CHANGED
@@ -13,8 +13,8 @@ export const _code_ = Symbol('rebundle:code')
13
13
  export const _sourcemap_ = Symbol('rebundle:sourcemap')
14
14
 
15
15
  export type RolldownOptions = {
16
- input: InputOptions
17
- output: OutputOptions
16
+ input?: InputOptions
17
+ output?: OutputOptions
18
18
  }
19
19
 
20
20
  export type Options = {