unplugin-typegpu 0.12.0 → 0.12.2
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/esbuild.d.ts +2 -2
- package/farm.d.ts +2 -2
- package/{index-Hki1C6Ab.d.ts → index-DaJ1nxWt.d.ts} +6 -6
- package/index.d.ts +2 -2
- package/package.json +5 -5
- package/{rolldown-browser-ClzBk-Ua.d.ts → rolldown-browser-1an_WnxF.d.ts} +4 -4
- package/rolldown-browser.d.ts +1 -1
- package/rolldown.d.ts +2 -2
- package/rollup.d.ts +2 -2
- package/rspack.d.ts +2 -2
- package/vite.d.ts +2 -2
- package/webpack.d.ts +2 -2
package/esbuild.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./common-CWaD5wkm.js";
|
|
2
2
|
import "./babel-DOOIkQDL.js";
|
|
3
3
|
import "./bun-DKuUuTVo.js";
|
|
4
|
-
import "./rolldown-browser-
|
|
5
|
-
import { t as esbuildPlugin } from "./index-
|
|
4
|
+
import "./rolldown-browser-1an_WnxF.js";
|
|
5
|
+
import { t as esbuildPlugin } from "./index-DaJ1nxWt.js";
|
|
6
6
|
export { esbuildPlugin as default };
|
package/farm.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./common-CWaD5wkm.js";
|
|
2
2
|
import "./babel-DOOIkQDL.js";
|
|
3
3
|
import "./bun-DKuUuTVo.js";
|
|
4
|
-
import "./rolldown-browser-
|
|
5
|
-
import { n as farmPlugin } from "./index-
|
|
4
|
+
import "./rolldown-browser-1an_WnxF.js";
|
|
5
|
+
import { n as farmPlugin } from "./index-DaJ1nxWt.js";
|
|
6
6
|
export { farmPlugin as default };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { t as Options } from "./common-CWaD5wkm.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as unplugin0 from "unplugin";
|
|
3
3
|
import * as rolldown0 from "rolldown";
|
|
4
4
|
|
|
5
5
|
//#region src/index.d.ts
|
|
6
|
-
declare const typegpu:
|
|
7
|
-
declare const vitePlugin: (options?: Options | undefined) =>
|
|
8
|
-
declare const rollupPlugin: (options?: Options | undefined) =>
|
|
6
|
+
declare const typegpu: unplugin0.UnpluginInstance<Options | undefined, boolean>;
|
|
7
|
+
declare const vitePlugin: (options?: Options | undefined) => unplugin0.VitePlugin<any> | unplugin0.VitePlugin<any>[];
|
|
8
|
+
declare const rollupPlugin: (options?: Options | undefined) => unplugin0.RollupPlugin<any> | unplugin0.RollupPlugin<any>[];
|
|
9
9
|
declare const rolldownPlugin: (options?: Options | undefined) => rolldown0.Plugin<any> | rolldown0.Plugin<any>[];
|
|
10
|
-
declare const webpackPlugin: (options?: Options | undefined) =>
|
|
10
|
+
declare const webpackPlugin: (options?: Options | undefined) => unplugin0.WebpackPluginInstance;
|
|
11
11
|
declare const rspackPlugin: (options?: Options | undefined) => RspackPluginInstance;
|
|
12
|
-
declare const esbuildPlugin: (options?: Options | undefined) =>
|
|
12
|
+
declare const esbuildPlugin: (options?: Options | undefined) => unplugin0.EsbuildPlugin;
|
|
13
13
|
declare const farmPlugin: (options?: Options | undefined) => JsPlugin;
|
|
14
14
|
declare const unloaderPlugin: (options?: Options | undefined) => any;
|
|
15
15
|
//#endregion
|
package/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Options } from "./common-CWaD5wkm.js";
|
|
2
2
|
import { t as TypeGPUPlugin } from "./babel-DOOIkQDL.js";
|
|
3
3
|
import { t as _default } from "./bun-DKuUuTVo.js";
|
|
4
|
-
import { t as _default$1 } from "./rolldown-browser-
|
|
5
|
-
import { a as rspackPlugin, c as vitePlugin, i as rollupPlugin, l as webpackPlugin, n as farmPlugin, o as typegpu, r as rolldownPlugin, s as unloaderPlugin, t as esbuildPlugin } from "./index-
|
|
4
|
+
import { t as _default$1 } from "./rolldown-browser-1an_WnxF.js";
|
|
5
|
+
import { a as rspackPlugin, c as vitePlugin, i as rollupPlugin, l as webpackPlugin, n as farmPlugin, o as typegpu, r as rolldownPlugin, s as unloaderPlugin, t as esbuildPlugin } from "./index-DaJ1nxWt.js";
|
|
6
6
|
export { Options, TypeGPUPlugin as babelPlugin, _default as bunPlugin, typegpu as default, esbuildPlugin, farmPlugin, _default$1 as rolldownBrowserPlugin, rolldownPlugin, rollupPlugin, rspackPlugin, unloaderPlugin, vitePlugin, webpackPlugin };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "unplugin-typegpu",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.2",
|
|
4
4
|
"description": "Build plugins for TypeGPU, enabling seamless JavaScript -> WGSL transpilation and improved debugging.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"babel-plugin",
|
|
@@ -148,12 +148,12 @@
|
|
|
148
148
|
"magic-string": "^0.30.21",
|
|
149
149
|
"pathe": "^2.0.3",
|
|
150
150
|
"picomatch": "^4.0.4",
|
|
151
|
-
"
|
|
152
|
-
"tinyest
|
|
153
|
-
"
|
|
151
|
+
"unplugin": "^3.0.0",
|
|
152
|
+
"tinyest": "~0.3.2",
|
|
153
|
+
"tinyest-for-wgsl": "~0.4.0"
|
|
154
154
|
},
|
|
155
155
|
"peerDependencies": {
|
|
156
|
-
"typegpu": "^0.12.
|
|
156
|
+
"typegpu": "^0.12.1"
|
|
157
157
|
},
|
|
158
158
|
"main": "./index.js",
|
|
159
159
|
"types": "./index.d.ts",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Options } from "./common-CWaD5wkm.js";
|
|
2
2
|
import * as magic_string0 from "magic-string";
|
|
3
|
-
import * as
|
|
3
|
+
import * as unplugin6 from "unplugin";
|
|
4
4
|
|
|
5
5
|
//#region src/rolldown-browser.d.ts
|
|
6
6
|
declare const _default: (options?: Options) => {
|
|
@@ -14,7 +14,7 @@ declare const _default: (options?: Options) => {
|
|
|
14
14
|
earlyPruning: true;
|
|
15
15
|
unstable_obfuscate: false;
|
|
16
16
|
}, "include" | "autoNamingEnabled" | "unstable_obfuscate" | "earlyPruning"> & {
|
|
17
|
-
include: string | RegExp |
|
|
17
|
+
include: string | RegExp | unplugin6.StringOrRegExp[];
|
|
18
18
|
autoNamingEnabled: boolean;
|
|
19
19
|
unstable_obfuscate: boolean;
|
|
20
20
|
earlyPruning: boolean;
|
|
@@ -27,14 +27,14 @@ declare const _default: (options?: Options) => {
|
|
|
27
27
|
earlyPruning: true;
|
|
28
28
|
unstable_obfuscate: false;
|
|
29
29
|
}, "include" | "autoNamingEnabled" | "unstable_obfuscate" | "earlyPruning"> & {
|
|
30
|
-
include: string | RegExp |
|
|
30
|
+
include: string | RegExp | unplugin6.StringOrRegExp[];
|
|
31
31
|
autoNamingEnabled: boolean;
|
|
32
32
|
unstable_obfuscate: boolean;
|
|
33
33
|
earlyPruning: boolean;
|
|
34
34
|
};
|
|
35
35
|
code?: never;
|
|
36
36
|
};
|
|
37
|
-
handler(this:
|
|
37
|
+
handler(this: unplugin6.UnpluginBuildContext & unplugin6.UnpluginContext, code: string, id: string): {
|
|
38
38
|
code: string;
|
|
39
39
|
readonly map: magic_string0.SourceMap;
|
|
40
40
|
} | undefined;
|
package/rolldown-browser.d.ts
CHANGED
package/rolldown.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./common-CWaD5wkm.js";
|
|
2
2
|
import "./babel-DOOIkQDL.js";
|
|
3
3
|
import "./bun-DKuUuTVo.js";
|
|
4
|
-
import "./rolldown-browser-
|
|
5
|
-
import { r as rolldownPlugin } from "./index-
|
|
4
|
+
import "./rolldown-browser-1an_WnxF.js";
|
|
5
|
+
import { r as rolldownPlugin } from "./index-DaJ1nxWt.js";
|
|
6
6
|
export { rolldownPlugin as default };
|
package/rollup.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./common-CWaD5wkm.js";
|
|
2
2
|
import "./babel-DOOIkQDL.js";
|
|
3
3
|
import "./bun-DKuUuTVo.js";
|
|
4
|
-
import "./rolldown-browser-
|
|
5
|
-
import { i as rollupPlugin } from "./index-
|
|
4
|
+
import "./rolldown-browser-1an_WnxF.js";
|
|
5
|
+
import { i as rollupPlugin } from "./index-DaJ1nxWt.js";
|
|
6
6
|
export { rollupPlugin as default };
|
package/rspack.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./common-CWaD5wkm.js";
|
|
2
2
|
import "./babel-DOOIkQDL.js";
|
|
3
3
|
import "./bun-DKuUuTVo.js";
|
|
4
|
-
import "./rolldown-browser-
|
|
5
|
-
import { a as rspackPlugin } from "./index-
|
|
4
|
+
import "./rolldown-browser-1an_WnxF.js";
|
|
5
|
+
import { a as rspackPlugin } from "./index-DaJ1nxWt.js";
|
|
6
6
|
export { rspackPlugin as default };
|
package/vite.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./common-CWaD5wkm.js";
|
|
2
2
|
import "./babel-DOOIkQDL.js";
|
|
3
3
|
import "./bun-DKuUuTVo.js";
|
|
4
|
-
import "./rolldown-browser-
|
|
5
|
-
import { c as vitePlugin } from "./index-
|
|
4
|
+
import "./rolldown-browser-1an_WnxF.js";
|
|
5
|
+
import { c as vitePlugin } from "./index-DaJ1nxWt.js";
|
|
6
6
|
export { vitePlugin as default };
|
package/webpack.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./common-CWaD5wkm.js";
|
|
2
2
|
import "./babel-DOOIkQDL.js";
|
|
3
3
|
import "./bun-DKuUuTVo.js";
|
|
4
|
-
import "./rolldown-browser-
|
|
5
|
-
import { l as webpackPlugin } from "./index-
|
|
4
|
+
import "./rolldown-browser-1an_WnxF.js";
|
|
5
|
+
import { l as webpackPlugin } from "./index-DaJ1nxWt.js";
|
|
6
6
|
export { webpackPlugin as default };
|