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 +28 -0
- package/dist/bun.d.mts +4 -0
- package/dist/bun.mjs +5 -0
- package/dist/esbuild.d.mts +6 -0
- package/dist/esbuild.mjs +5 -0
- package/dist/farm.d.mts +4 -0
- package/dist/farm.mjs +5 -0
- package/dist/index.d.mts +6 -0
- package/dist/index.mjs +2 -0
- package/dist/index.test.d.mts +1 -0
- package/dist/index.test.mjs +13697 -0
- package/dist/magic-string.es-D9_CQFb8.mjs +1011 -0
- package/dist/rolldown.d.mts +5796 -0
- package/dist/rolldown.mjs +5 -0
- package/dist/rollup.d.mts +4 -0
- package/dist/rollup.mjs +5 -0
- package/dist/rspack.d.mts +4 -0
- package/dist/rspack.mjs +5 -0
- package/dist/src-C-_DjRpL.mjs +33 -0
- package/dist/unloader.d.mts +4 -0
- package/dist/unloader.mjs +5 -0
- package/dist/vite.d.mts +6 -0
- package/dist/vite.mjs +5 -0
- package/dist/webpack.d.mts +4 -0
- package/dist/webpack.mjs +5 -0
- package/package.json +47 -1
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
package/dist/bun.mjs
ADDED
package/dist/esbuild.mjs
ADDED
package/dist/farm.d.mts
ADDED
package/dist/farm.mjs
ADDED
package/dist/index.d.mts
ADDED
package/dist/index.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|