unplugin-saykit 0.0.0-beta-20260309151609
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/dist/bun.d.mts +5 -0
- package/dist/bun.mjs +8 -0
- package/dist/esbuild.d.mts +7 -0
- package/dist/esbuild.mjs +8 -0
- package/dist/farm.d.mts +5 -0
- package/dist/farm.mjs +8 -0
- package/dist/index.d.mts +7 -0
- package/dist/index.mjs +17 -0
- package/dist/rolldown.d.mts +7 -0
- package/dist/rolldown.mjs +8 -0
- package/dist/rollup.d.mts +7 -0
- package/dist/rollup.mjs +8 -0
- package/dist/rspack.d.mts +5 -0
- package/dist/rspack.mjs +8 -0
- package/dist/unloader.d.mts +5 -0
- package/dist/unloader.mjs +8 -0
- package/dist/vite.d.mts +7 -0
- package/dist/vite.mjs +8 -0
- package/dist/webpack.d.mts +5 -0
- package/dist/webpack.mjs +8 -0
- package/package.json +50 -0
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,17 @@
|
|
|
1
|
+
import { transformCode } from "@saykit/babel-plugin/core";
|
|
2
|
+
import { createUnplugin } from "unplugin";
|
|
3
|
+
|
|
4
|
+
//#region src/index.ts
|
|
5
|
+
var src_default = createUnplugin(() => {
|
|
6
|
+
return {
|
|
7
|
+
name: "saykit",
|
|
8
|
+
transform: {
|
|
9
|
+
filter: { id: { exclude: /node_modules/ } },
|
|
10
|
+
handler: (code, id) => transformCode(id, code)
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
//#endregion
|
|
16
|
+
export { src_default as default };
|
|
17
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as unplugin from "unplugin";
|
|
2
|
+
|
|
3
|
+
//#region src/rolldown.d.ts
|
|
4
|
+
declare const _default: (options?: unknown) => unplugin.RolldownPlugin<any> | unplugin.RolldownPlugin<any>[];
|
|
5
|
+
//#endregion
|
|
6
|
+
export { _default as default };
|
|
7
|
+
//# sourceMappingURL=rolldown.d.mts.map
|
package/dist/rollup.mjs
ADDED
package/dist/rspack.mjs
ADDED
package/dist/vite.d.mts
ADDED
package/dist/vite.mjs
ADDED
package/dist/webpack.mjs
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "unplugin-saykit",
|
|
3
|
+
"version": "0.0.0-beta-20260309151609",
|
|
4
|
+
"description": "Universal build tool plugin for saykit (Vite, Rollup, Webpack, esbuild)",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"i18n",
|
|
7
|
+
"rollup",
|
|
8
|
+
"saykit",
|
|
9
|
+
"unplugin",
|
|
10
|
+
"vite",
|
|
11
|
+
"webpack"
|
|
12
|
+
],
|
|
13
|
+
"homepage": "https://github.com/k0d13/saykit#readme",
|
|
14
|
+
"bugs": {
|
|
15
|
+
"url": "https://github.com/k0d13/saykit/issues"
|
|
16
|
+
},
|
|
17
|
+
"license": "MIT",
|
|
18
|
+
"repository": {
|
|
19
|
+
"type": "git",
|
|
20
|
+
"url": "git+https://github.com/k0d13/saykit.git",
|
|
21
|
+
"directory": "packages/unplugin"
|
|
22
|
+
},
|
|
23
|
+
"files": [
|
|
24
|
+
"dist",
|
|
25
|
+
"!dist/**/*.map"
|
|
26
|
+
],
|
|
27
|
+
"type": "module",
|
|
28
|
+
"exports": {
|
|
29
|
+
".": {
|
|
30
|
+
"types": "./dist/index.d.mts",
|
|
31
|
+
"default": "./dist/index.mjs"
|
|
32
|
+
},
|
|
33
|
+
"./*": {
|
|
34
|
+
"types": "./dist/*.d.mts",
|
|
35
|
+
"default": "./dist/*.mjs"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"publishConfig": {
|
|
39
|
+
"access": "public",
|
|
40
|
+
"provenance": true
|
|
41
|
+
},
|
|
42
|
+
"dependencies": {
|
|
43
|
+
"unplugin": "^3.0.0",
|
|
44
|
+
"@saykit/babel-plugin": "^0.0.0-beta-20260309151609"
|
|
45
|
+
},
|
|
46
|
+
"scripts": {
|
|
47
|
+
"check": "tsc --noEmit",
|
|
48
|
+
"build": "tsdown"
|
|
49
|
+
}
|
|
50
|
+
}
|