unplugin-saykit 0.0.0 → 0.2.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.
package/README.md ADDED
@@ -0,0 +1,28 @@
1
+ # unplugin-saykit
2
+
3
+ > Universal build-tool plugin for [SayKit](https://saykit.js.org).
4
+
5
+ Works with Vite, Rollup, Rolldown, Webpack, Rspack, esbuild, Farm, and Bun via [unplugin](https://github.com/unjs/unplugin).
6
+
7
+ ## Install
8
+
9
+ ```sh
10
+ pnpm add -D unplugin-saykit
11
+ ```
12
+
13
+ ## Usage
14
+
15
+ ```ts title="vite.config.ts"
16
+ import saykit from 'unplugin-saykit/vite';
17
+ import { defineConfig } from 'vite';
18
+
19
+ export default defineConfig({
20
+ plugins: [saykit()],
21
+ });
22
+ ```
23
+
24
+ Import from the subpath matching your bundler: `/vite`, `/rollup`, `/rolldown`, `/webpack`, `/rspack`, `/esbuild`, `/farm`, or `/bun`.
25
+
26
+ ## Documentation
27
+
28
+ See [saykit.js.org/integrations/vite](https://saykit.js.org/integrations/vite).
package/dist/bun.d.mts ADDED
@@ -0,0 +1,4 @@
1
+ //#region src/bun.d.ts
2
+ declare const _default: (options?: undefined) => Bun.BunPlugin;
3
+ //#endregion
4
+ export { _default as default };
package/dist/bun.mjs ADDED
@@ -0,0 +1,5 @@
1
+ import { t as src_default } from "./src-C-_DjRpL.mjs";
2
+ //#region src/bun.ts
3
+ var bun_default = src_default.bun;
4
+ //#endregion
5
+ export { bun_default as default };
@@ -0,0 +1,6 @@
1
+ import * as _$unplugin from "unplugin";
2
+
3
+ //#region src/esbuild.d.ts
4
+ declare const _default: (options?: undefined) => _$unplugin.EsbuildPlugin;
5
+ //#endregion
6
+ export { _default as default };
@@ -0,0 +1,5 @@
1
+ import { t as src_default } from "./src-C-_DjRpL.mjs";
2
+ //#region src/esbuild.ts
3
+ var esbuild_default = src_default.esbuild;
4
+ //#endregion
5
+ export { esbuild_default as default };
@@ -0,0 +1,4 @@
1
+ //#region src/farm.d.ts
2
+ declare const _default: (options?: undefined) => JsPlugin;
3
+ //#endregion
4
+ export { _default as default };
package/dist/farm.mjs ADDED
@@ -0,0 +1,5 @@
1
+ import { t as src_default } from "./src-C-_DjRpL.mjs";
2
+ //#region src/farm.ts
3
+ var farm_default = src_default.farm;
4
+ //#endregion
5
+ export { farm_default as default };
@@ -0,0 +1,6 @@
1
+ import * as _$unplugin from "unplugin";
2
+
3
+ //#region src/index.d.ts
4
+ declare const _default: _$unplugin.UnpluginInstance<undefined, boolean>;
5
+ //#endregion
6
+ export { _default as default };
package/dist/index.mjs ADDED
@@ -0,0 +1,2 @@
1
+ import { t as src_default } from "./src-C-_DjRpL.mjs";
2
+ export { src_default as default };
@@ -0,0 +1 @@
1
+ export { };