@git.zone/tsbundle 2.8.0 → 2.8.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.
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@git.zone/tsbundle',
6
- version: '2.8.0',
6
+ version: '2.8.1',
7
7
  description: 'a multi-bundler tool supporting esbuild, rolldown, and rspack for painless bundling of web projects'
8
8
  };
9
9
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSxvQkFBb0I7SUFDMUIsT0FBTyxFQUFFLE9BQU87SUFDaEIsV0FBVyxFQUFFLHFHQUFxRztDQUNuSCxDQUFBIn0=
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@git.zone/tsbundle",
3
- "version": "2.8.0",
3
+ "version": "2.8.1",
4
4
  "private": false,
5
5
  "description": "a multi-bundler tool supporting esbuild, rolldown, and rspack for painless bundling of web projects",
6
6
  "main": "dist_ts/index.js",
package/readme.md CHANGED
@@ -91,6 +91,7 @@ tsbundle uses `npmextra.json` for configuration. Here's an example:
91
91
  | `bundler` | `"esbuild"` \| `"rolldown"` \| `"rspack"` | `"esbuild"` | Which bundler to use |
92
92
  | `production` | `boolean` | `false` | Enable minification |
93
93
  | `includeFiles` | `string[]` | `[]` | Glob patterns for additional files (HTML, assets) |
94
+ | `maxLineLength` | `number` | `0` (unlimited) | For `base64ts` mode: max chars per line in output |
94
95
 
95
96
  ### Output Modes
96
97
 
@@ -108,6 +109,8 @@ export const files: { path: string; contentBase64: string }[] = [
108
109
  ];
109
110
  ```
110
111
 
112
+ **Tip:** If you're working with AI tools that have line length limitations, set `maxLineLength` (e.g., `200`) to split long base64 strings across multiple lines.
113
+
111
114
  ## Available Bundlers 🔧
112
115
 
113
116
  tsbundle supports three modern bundlers:
@@ -241,7 +244,8 @@ Config:
241
244
  "outputMode": "base64ts",
242
245
  "bundler": "esbuild",
243
246
  "production": true,
244
- "includeFiles": ["./html/index.html"]
247
+ "includeFiles": ["./html/index.html"],
248
+ "maxLineLength": 200
245
249
  }
246
250
  ]
247
251
  }
@@ -3,6 +3,6 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@git.zone/tsbundle',
6
- version: '2.8.0',
6
+ version: '2.8.1',
7
7
  description: 'a multi-bundler tool supporting esbuild, rolldown, and rspack for painless bundling of web projects'
8
8
  }