@ethercorps/sveltekit-og 3.0.0-next.19 → 3.0.0-next.21

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,4 @@
1
+ import { rollup, type UnwasmPluginOptions } from "unwasm/plugin";
2
+ type Plugin = ReturnType<typeof rollup>;
3
+ export declare function rollupWasm(options?: UnwasmPluginOptions): Plugin;
4
+ export {};
package/dist/plugin.js CHANGED
@@ -1,7 +1,8 @@
1
1
  import { rollup } from "unwasm/plugin";
2
- export function rollupWasm() {
2
+ export function rollupWasm(options) {
3
3
  return rollup({
4
4
  esmImport: true,
5
- lazy: true
5
+ lazy: true,
6
+ ...options
6
7
  });
7
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ethercorps/sveltekit-og",
3
- "version": "3.0.0-next.19",
3
+ "version": "3.0.0-next.21",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build && npm run package",
@@ -21,7 +21,8 @@
21
21
  "import": "./dist/index.js"
22
22
  },
23
23
  "./plugin": {
24
- "import": "./dist/plugin.js"
24
+ "types": "./dist/plugin.d.ts",
25
+ "import": "./dist/plugin.js"
25
26
  }
26
27
  },
27
28
  "files": [