vite-plugin-cross-origin-storage 1.0.0 → 1.1.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.
@@ -0,0 +1,17 @@
1
+ import { Plugin } from 'vite';
2
+
3
+ interface CosPluginOptions {
4
+ /**
5
+ * Pattern to include chunks to be managed by COS.
6
+ * Matches against the output filename (e.g. `assets/vendor-*.js`).
7
+ * Default: `['**\/*']` (all chunks, except the entry implementation detail)
8
+ */
9
+ include?: string | RegExp | (string | RegExp)[];
10
+ /**
11
+ * Pattern to exclude chunks from being managed by COS.
12
+ */
13
+ exclude?: string | RegExp | (string | RegExp)[];
14
+ }
15
+ declare function cosPlugin(options?: CosPluginOptions): Plugin;
16
+
17
+ export { type CosPluginOptions, cosPlugin as default };