unplugin-keywords 2.7.2 → 2.8.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/dist/bun.d.ts ADDED
@@ -0,0 +1,11 @@
1
+ import { t as Options } from "./plugin-Coz4K9xU.js";
2
+
3
+ //#region src/bun.d.ts
4
+ /**
5
+ * @license
6
+ * SPDX-License-Identifier: MIT
7
+ */
8
+ declare const _default: (options: Options) => BunPlugin;
9
+ //#endregion
10
+ export { type Options, _default as default };
11
+ //# sourceMappingURL=bun.d.ts.map
package/dist/bun.js ADDED
@@ -0,0 +1,12 @@
1
+ import { t as unpluginFactory } from "./plugin-CiEy7euP.js";
2
+ import { createBunPlugin } from "unplugin";
3
+ //#region src/bun.ts
4
+ /**
5
+ * @license
6
+ * SPDX-License-Identifier: MIT
7
+ */
8
+ var bun_default = createBunPlugin(unpluginFactory);
9
+ //#endregion
10
+ export { bun_default as default };
11
+
12
+ //# sourceMappingURL=bun.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bun.js","names":[],"sources":["../src/bun.ts"],"sourcesContent":["/**\n * @license\n * SPDX-License-Identifier: MIT\n */\n\nimport { createBunPlugin } from 'unplugin';\nimport { type Options, unpluginFactory } from './internal/plugin.js';\n\nexport default createBunPlugin(unpluginFactory);\nexport type { Options };\n"],"mappings":";;;;;;;AAQA,IAAA,cAAe,gBAAgB,gBAAgB"}
package/dist/farm.d.ts ADDED
@@ -0,0 +1,11 @@
1
+ import { t as Options } from "./plugin-Coz4K9xU.js";
2
+
3
+ //#region src/farm.d.ts
4
+ /**
5
+ * @license
6
+ * SPDX-License-Identifier: MIT
7
+ */
8
+ declare const _default: (options: Options) => JsPlugin;
9
+ //#endregion
10
+ export { type Options, _default as default };
11
+ //# sourceMappingURL=farm.d.ts.map
package/dist/farm.js ADDED
@@ -0,0 +1,12 @@
1
+ import { t as unpluginFactory } from "./plugin-CiEy7euP.js";
2
+ import { createFarmPlugin } from "unplugin";
3
+ //#region src/farm.ts
4
+ /**
5
+ * @license
6
+ * SPDX-License-Identifier: MIT
7
+ */
8
+ var farm_default = createFarmPlugin(unpluginFactory);
9
+ //#endregion
10
+ export { farm_default as default };
11
+
12
+ //# sourceMappingURL=farm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"farm.js","names":[],"sources":["../src/farm.ts"],"sourcesContent":["/**\n * @license\n * SPDX-License-Identifier: MIT\n */\n\nimport { createFarmPlugin } from 'unplugin';\nimport { type Options, unpluginFactory } from './internal/plugin.js';\n\nexport default createFarmPlugin(unpluginFactory);\nexport type { Options };\n"],"mappings":";;;;;;;AAQA,IAAA,eAAe,iBAAiB,gBAAgB"}
@@ -0,0 +1,12 @@
1
+ import { t as Options } from "./plugin-Coz4K9xU.js";
2
+ import * as _$unplugin from "unplugin";
3
+
4
+ //#region src/rolldown.d.ts
5
+ /**
6
+ * @license
7
+ * SPDX-License-Identifier: MIT
8
+ */
9
+ declare const _default: (options: Options) => _$unplugin.RolldownPlugin<any> | _$unplugin.RolldownPlugin<any>[];
10
+ //#endregion
11
+ export { type Options, _default as default };
12
+ //# sourceMappingURL=rolldown.d.ts.map
@@ -0,0 +1,12 @@
1
+ import { t as unpluginFactory } from "./plugin-CiEy7euP.js";
2
+ import { createRolldownPlugin } from "unplugin";
3
+ //#region src/rolldown.ts
4
+ /**
5
+ * @license
6
+ * SPDX-License-Identifier: MIT
7
+ */
8
+ var rolldown_default = createRolldownPlugin(unpluginFactory);
9
+ //#endregion
10
+ export { rolldown_default as default };
11
+
12
+ //# sourceMappingURL=rolldown.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rolldown.js","names":[],"sources":["../src/rolldown.ts"],"sourcesContent":["/**\n * @license\n * SPDX-License-Identifier: MIT\n */\n\nimport { createRolldownPlugin } from 'unplugin';\nimport { type Options, unpluginFactory } from './internal/plugin.js';\n\nexport default createRolldownPlugin(unpluginFactory);\nexport type { Options };\n"],"mappings":";;;;;;;AAQA,IAAA,mBAAe,qBAAqB,gBAAgB"}
@@ -0,0 +1,11 @@
1
+ import { t as Options } from "./plugin-Coz4K9xU.js";
2
+
3
+ //#region src/rspack.d.ts
4
+ /**
5
+ * @license
6
+ * SPDX-License-Identifier: MIT
7
+ */
8
+ declare const _default: (options: Options) => RspackPluginInstance;
9
+ //#endregion
10
+ export { type Options, _default as default };
11
+ //# sourceMappingURL=rspack.d.ts.map
package/dist/rspack.js ADDED
@@ -0,0 +1,12 @@
1
+ import { t as unpluginFactory } from "./plugin-CiEy7euP.js";
2
+ import { createRspackPlugin } from "unplugin";
3
+ //#region src/rspack.ts
4
+ /**
5
+ * @license
6
+ * SPDX-License-Identifier: MIT
7
+ */
8
+ var rspack_default = createRspackPlugin(unpluginFactory);
9
+ //#endregion
10
+ export { rspack_default as default };
11
+
12
+ //# sourceMappingURL=rspack.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rspack.js","names":[],"sources":["../src/rspack.ts"],"sourcesContent":["/**\n * @license\n * SPDX-License-Identifier: MIT\n */\n\nimport { createRspackPlugin } from 'unplugin';\nimport { type Options, unpluginFactory } from './internal/plugin.js';\n\nexport default createRspackPlugin(unpluginFactory);\nexport type { Options };\n"],"mappings":";;;;;;;AAQA,IAAA,iBAAe,mBAAmB,gBAAgB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unplugin-keywords",
3
- "version": "2.7.2",
3
+ "version": "2.8.0",
4
4
  "description": "A build plugin for structural string literal minification and obfuscation.",
5
5
  "keywords": [
6
6
  "unplugin",
@@ -27,14 +27,30 @@
27
27
  "types": "./dist/api.d.ts",
28
28
  "default": "./dist/api.js"
29
29
  },
30
+ "./bun": {
31
+ "types": "./dist/bun.d.ts",
32
+ "default": "./dist/bun.js"
33
+ },
30
34
  "./esbuild": {
31
35
  "types": "./dist/esbuild.d.ts",
32
36
  "default": "./dist/esbuild.js"
33
37
  },
38
+ "./farm": {
39
+ "types": "./dist/farm.d.ts",
40
+ "default": "./dist/farm.js"
41
+ },
42
+ "./rolldown": {
43
+ "types": "./dist/rolldown.d.ts",
44
+ "default": "./dist/rolldown.js"
45
+ },
34
46
  "./rollup": {
35
47
  "types": "./dist/rollup.d.ts",
36
48
  "default": "./dist/rollup.js"
37
49
  },
50
+ "./rspack": {
51
+ "types": "./dist/rspack.d.ts",
52
+ "default": "./dist/rspack.js"
53
+ },
38
54
  "./vite": {
39
55
  "types": "./dist/vite.d.ts",
40
56
  "default": "./dist/vite.js"