unplugin-typegpu 0.12.3 → 0.12.4
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/{babel-DOOIkQDL.d.ts → babel-BYhS2YIJ.d.ts} +1 -1
- package/{babel-CYu2-eXe.d.cts → babel-DQEH6_D9.d.cts} +1 -1
- package/{babel-BhrXca-z.cjs → babel-XXxoIgFE.cjs} +1 -3
- package/{babel-BRe2EPkb.js → babel-eBhrZbio.js} +1 -2
- package/babel.cjs +2 -2
- package/babel.d.cts +2 -2
- package/babel.d.ts +2 -2
- package/babel.js +2 -2
- package/{bun-DKuUuTVo.d.ts → bun-BVhK-8zV.d.ts} +1 -1
- package/{bun-DCFaGqg8.js → bun-Ba7l0qqo.js} +2 -2
- package/{bun-BTiud8cT.cjs → bun-DUhn9N6e.cjs} +2 -2
- package/{bun-YVuHXBJq.d.cts → bun-DzFHIe4m.d.cts} +1 -1
- package/bun.cjs +3 -3
- package/bun.d.cts +2 -2
- package/bun.d.ts +2 -2
- package/bun.js +3 -3
- package/{common-BriEOmpZ.d.cts → common-25hhdSUe.d.cts} +2 -2
- package/{common-Gq7t4QOX.js → common-7JCcEWWG.js} +27 -2
- package/{common-CWaD5wkm.d.ts → common-DSCkJGcN.d.ts} +2 -2
- package/{common-Binr3E5X.cjs → common-jf8nOwlS.cjs} +28 -3
- package/esbuild.cjs +6 -6
- package/esbuild.d.cts +5 -5
- package/esbuild.d.ts +5 -5
- package/esbuild.js +6 -6
- package/{factory-D0fJeWzn.cjs → factory-BBG2udJs.cjs} +1 -3
- package/{factory-qz2FsSQM.js → factory-KzEensgD.js} +1 -2
- package/farm.cjs +6 -6
- package/farm.d.cts +5 -5
- package/farm.d.ts +5 -5
- package/farm.js +6 -6
- package/{index-DaJ1nxWt.d.ts → index-BVQ6A7AV.d.ts} +7 -7
- package/{index-COouFDDA.d.cts → index-DusY3uDo.d.cts} +1 -1
- package/index.cjs +6 -6
- package/index.d.cts +5 -5
- package/index.d.ts +5 -5
- package/index.js +6 -6
- package/package.json +4 -4
- package/{rolldown-browser-1an_WnxF.d.ts → rolldown-browser-BS-Q7ZhD.d.cts} +2 -2
- package/{rolldown-browser-Vlii4Khd.cjs → rolldown-browser-CI6KJiIP.cjs} +1 -1
- package/{rolldown-browser-Da9eNbZo.d.cts → rolldown-browser-Cuq6ooVs.d.ts} +5 -5
- package/{rolldown-browser-DYxtXLwY.js → rolldown-browser-DubZVfw3.js} +1 -1
- package/rolldown-browser.cjs +3 -3
- package/rolldown-browser.d.cts +2 -2
- package/rolldown-browser.d.ts +2 -2
- package/rolldown-browser.js +3 -3
- package/rolldown.cjs +6 -6
- package/rolldown.d.cts +5 -5
- package/rolldown.d.ts +5 -5
- package/rolldown.js +6 -6
- package/rollup.cjs +6 -6
- package/rollup.d.cts +5 -5
- package/rollup.d.ts +5 -5
- package/rollup.js +6 -6
- package/rspack.cjs +6 -6
- package/rspack.d.cts +5 -5
- package/rspack.d.ts +5 -5
- package/rspack.js +6 -6
- package/{src-Dn--l75f.cjs → src-CNzRp2o7.cjs} +2 -2
- package/{src-D6GpTeTP.js → src-CrkbYAR5.js} +1 -1
- package/vite.cjs +6 -6
- package/vite.d.cts +5 -5
- package/vite.d.ts +5 -5
- package/vite.js +6 -6
- package/webpack.cjs +6 -6
- package/webpack.d.cts +5 -5
- package/webpack.d.ts +5 -5
- package/webpack.js +6 -6
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
const require_common = require('./common-
|
|
1
|
+
const require_common = require('./common-jf8nOwlS.cjs');
|
|
2
2
|
let defu = require("defu");
|
|
3
3
|
defu = require_common.__toESM(defu);
|
|
4
|
-
let tinyest_for_wgsl = require("tinyest-for-wgsl");
|
|
5
|
-
tinyest_for_wgsl = require_common.__toESM(tinyest_for_wgsl);
|
|
6
4
|
let __babel_types = require("@babel/types");
|
|
7
5
|
__babel_types = require_common.__toESM(__babel_types);
|
|
8
6
|
let pathe = require("pathe");
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { a as functionVisitor, n as checkOpts, o as getBlockScope, r as defaultOptions, s as initPluginState, t as METADATA_FORMAT_VERSION } from "./common-
|
|
1
|
+
import { a as functionVisitor, n as checkOpts, o as getBlockScope, r as defaultOptions, s as initPluginState, t as METADATA_FORMAT_VERSION } from "./common-7JCcEWWG.js";
|
|
2
2
|
import defu from "defu";
|
|
3
|
-
import { transpileFn } from "tinyest-for-wgsl";
|
|
4
3
|
import * as t from "@babel/types";
|
|
5
4
|
import { resolve } from "pathe";
|
|
6
5
|
import picomatch from "picomatch";
|
package/babel.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
|
-
require('./common-
|
|
3
|
-
const require_babel = require('./babel-
|
|
2
|
+
require('./common-jf8nOwlS.cjs');
|
|
3
|
+
const require_babel = require('./babel-XXxoIgFE.cjs');
|
|
4
4
|
|
|
5
5
|
exports.default = require_babel.TypeGPUPlugin;
|
package/babel.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "./common-
|
|
2
|
-
import { t as TypeGPUPlugin } from "./babel-
|
|
1
|
+
import "./common-25hhdSUe.cjs";
|
|
2
|
+
import { t as TypeGPUPlugin } from "./babel-DQEH6_D9.cjs";
|
|
3
3
|
export = TypeGPUPlugin;
|
package/babel.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "./common-
|
|
2
|
-
import { t as TypeGPUPlugin } from "./babel-
|
|
1
|
+
import "./common-DSCkJGcN.js";
|
|
2
|
+
import { t as TypeGPUPlugin } from "./babel-BYhS2YIJ.js";
|
|
3
3
|
export { TypeGPUPlugin as default };
|
package/babel.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as earlyPruneRegex, n as checkOpts, r as defaultOptions } from "./common-
|
|
2
|
-
import { t as unpluginFactory } from "./factory-
|
|
1
|
+
import { i as earlyPruneRegex, n as checkOpts, r as defaultOptions } from "./common-7JCcEWWG.js";
|
|
2
|
+
import { t as unpluginFactory } from "./factory-KzEensgD.js";
|
|
3
3
|
import defu from "defu";
|
|
4
4
|
|
|
5
5
|
//#region src/bun.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const require_common = require('./common-
|
|
2
|
-
const require_factory = require('./factory-
|
|
1
|
+
const require_common = require('./common-jf8nOwlS.cjs');
|
|
2
|
+
const require_factory = require('./factory-BBG2udJs.cjs');
|
|
3
3
|
let defu = require("defu");
|
|
4
4
|
defu = require_common.__toESM(defu);
|
|
5
5
|
|
package/bun.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
|
-
require('./common-
|
|
3
|
-
require('./factory-
|
|
4
|
-
const require_bun = require('./bun-
|
|
2
|
+
require('./common-jf8nOwlS.cjs');
|
|
3
|
+
require('./factory-BBG2udJs.cjs');
|
|
4
|
+
const require_bun = require('./bun-DUhn9N6e.cjs');
|
|
5
5
|
|
|
6
6
|
exports.default = require_bun.bun_default;
|
package/bun.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "./common-
|
|
2
|
-
import { t as _default } from "./bun-
|
|
1
|
+
import "./common-25hhdSUe.cjs";
|
|
2
|
+
import { t as _default } from "./bun-DzFHIe4m.cjs";
|
|
3
3
|
export = _default;
|
package/bun.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "./common-
|
|
2
|
-
import { t as _default } from "./bun-
|
|
1
|
+
import "./common-DSCkJGcN.js";
|
|
2
|
+
import { t as _default } from "./bun-BVhK-8zV.js";
|
|
3
3
|
export { _default as default };
|
package/bun.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./common-
|
|
2
|
-
import "./factory-
|
|
3
|
-
import { t as bun_default } from "./bun-
|
|
1
|
+
import "./common-7JCcEWWG.js";
|
|
2
|
+
import "./factory-KzEensgD.js";
|
|
3
|
+
import { t as bun_default } from "./bun-Ba7l0qqo.js";
|
|
4
4
|
|
|
5
5
|
export { bun_default as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { NodePath } from "@babel/traverse";
|
|
2
2
|
import * as t from "@babel/types";
|
|
3
3
|
import { FilterPattern } from "unplugin";
|
|
4
|
-
import {
|
|
4
|
+
import { TranspilationResult } from "tinyest-for-wgsl";
|
|
5
5
|
|
|
6
6
|
//#region src/core/common.d.ts
|
|
7
7
|
|
|
@@ -64,7 +64,7 @@ interface TransformMethods {
|
|
|
64
64
|
* console.log(function double(a) { return a * 2; });
|
|
65
65
|
* ```
|
|
66
66
|
*/
|
|
67
|
-
assignMetadata(this: PluginState, path: NodePath<MetadatableFunction>, name: string | undefined, ast:
|
|
67
|
+
assignMetadata(this: PluginState, path: NodePath<MetadatableFunction>, name: string | undefined, ast: TranspilationResult): void;
|
|
68
68
|
wrapInAutoName(this: PluginState, path: NodePath<t.Expression>, name: string): void;
|
|
69
69
|
replaceWithAssignmentOverload(path: NodePath<t.AssignmentExpression>, runtimeFn: string): void;
|
|
70
70
|
replaceWithBinaryOverload(path: NodePath<t.BinaryExpression>, runtimeFn: string): void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { transpileFn } from "tinyest-for-wgsl";
|
|
2
1
|
import * as t from "@babel/types";
|
|
3
2
|
import MagicString from "magic-string";
|
|
3
|
+
import { transpileBabelFn } from "tinyest-for-wgsl";
|
|
4
4
|
import * as tinyest from "tinyest";
|
|
5
5
|
|
|
6
6
|
//#region src/core/embeddedMetadata.ts
|
|
@@ -372,6 +372,13 @@ const visitors = {
|
|
|
372
372
|
obf(ctx, node[3])
|
|
373
373
|
];
|
|
374
374
|
},
|
|
375
|
+
switch(ctx, node) {
|
|
376
|
+
return [
|
|
377
|
+
NODE.switch,
|
|
378
|
+
obf(ctx, node[1]),
|
|
379
|
+
node[2].map((c) => [obf(ctx, c[0]), c[1].map((s) => obf(ctx, s))])
|
|
380
|
+
];
|
|
381
|
+
},
|
|
375
382
|
arrayExpr(ctx, node) {
|
|
376
383
|
return [NODE.arrayExpr, node[1].map((node$1) => obf(ctx, node$1))];
|
|
377
384
|
},
|
|
@@ -393,6 +400,15 @@ const visitors = {
|
|
|
393
400
|
return [NODE.stringLiteral, node[1]];
|
|
394
401
|
},
|
|
395
402
|
objectExpr(ctx, node) {
|
|
403
|
+
if (Array.isArray(node[1])) return [NODE.objectExpr, node[1].map(([key, value, computed]) => computed ? [
|
|
404
|
+
obf(ctx, key),
|
|
405
|
+
obf(ctx, value),
|
|
406
|
+
computed
|
|
407
|
+
] : [
|
|
408
|
+
key,
|
|
409
|
+
obf(ctx, value),
|
|
410
|
+
computed
|
|
411
|
+
])];
|
|
396
412
|
return [NODE.objectExpr, Object.fromEntries(Object.entries(node[1]).map(([key, value]) => [key, obf(ctx, value)]))];
|
|
397
413
|
},
|
|
398
414
|
conditionalExpr(ctx, node) {
|
|
@@ -405,6 +421,14 @@ const visitors = {
|
|
|
405
421
|
},
|
|
406
422
|
nullLiteral(_, node) {
|
|
407
423
|
return node;
|
|
424
|
+
},
|
|
425
|
+
booleanLiteral(_, node) {
|
|
426
|
+
if (typeof node === "boolean") return node;
|
|
427
|
+
return [NODE.booleanLiteral, node[1]];
|
|
428
|
+
},
|
|
429
|
+
identifier(ctx, node) {
|
|
430
|
+
if (typeof node === "string") return obf(ctx, node);
|
|
431
|
+
return [NODE.identifier, obf(ctx, node[1])];
|
|
408
432
|
}
|
|
409
433
|
};
|
|
410
434
|
const nodeIdToName = new Map(Object.entries(NODE).map(([key, value]) => [value, key]));
|
|
@@ -525,6 +549,7 @@ const resourceConstructors = [
|
|
|
525
549
|
"vertexLayout",
|
|
526
550
|
"privateVar",
|
|
527
551
|
"workgroupVar",
|
|
552
|
+
"immediateVar",
|
|
528
553
|
"const",
|
|
529
554
|
"slot",
|
|
530
555
|
"accessor",
|
|
@@ -637,7 +662,7 @@ function functionOnExit(path, state) {
|
|
|
637
662
|
path.skip();
|
|
638
663
|
}
|
|
639
664
|
function transpile(rootNode, obf$1) {
|
|
640
|
-
const result =
|
|
665
|
+
const result = transpileBabelFn(rootNode);
|
|
641
666
|
if (obf$1) return obfuscate(result);
|
|
642
667
|
return result;
|
|
643
668
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { transpileFn } from "tinyest-for-wgsl";
|
|
2
1
|
import * as t from "@babel/types";
|
|
3
2
|
import MagicString from "magic-string";
|
|
3
|
+
import { TranspilationResult } from "tinyest-for-wgsl";
|
|
4
4
|
import { NodePath } from "@babel/traverse";
|
|
5
5
|
import { FilterPattern } from "unplugin";
|
|
6
6
|
|
|
@@ -65,7 +65,7 @@ interface TransformMethods {
|
|
|
65
65
|
* console.log(function double(a) { return a * 2; });
|
|
66
66
|
* ```
|
|
67
67
|
*/
|
|
68
|
-
assignMetadata(this: PluginState, path: NodePath<MetadatableFunction>, name: string | undefined, ast:
|
|
68
|
+
assignMetadata(this: PluginState, path: NodePath<MetadatableFunction>, name: string | undefined, ast: TranspilationResult): void;
|
|
69
69
|
wrapInAutoName(this: PluginState, path: NodePath<t.Expression>, name: string): void;
|
|
70
70
|
replaceWithAssignmentOverload(path: NodePath<t.AssignmentExpression>, runtimeFn: string): void;
|
|
71
71
|
replaceWithBinaryOverload(path: NodePath<t.BinaryExpression>, runtimeFn: string): void;
|
|
@@ -21,12 +21,12 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
21
21
|
}) : target, mod));
|
|
22
22
|
|
|
23
23
|
//#endregion
|
|
24
|
-
let tinyest_for_wgsl = require("tinyest-for-wgsl");
|
|
25
|
-
tinyest_for_wgsl = __toESM(tinyest_for_wgsl);
|
|
26
24
|
let __babel_types = require("@babel/types");
|
|
27
25
|
__babel_types = __toESM(__babel_types);
|
|
28
26
|
let magic_string = require("magic-string");
|
|
29
27
|
magic_string = __toESM(magic_string);
|
|
28
|
+
let tinyest_for_wgsl = require("tinyest-for-wgsl");
|
|
29
|
+
tinyest_for_wgsl = __toESM(tinyest_for_wgsl);
|
|
30
30
|
let tinyest = require("tinyest");
|
|
31
31
|
tinyest = __toESM(tinyest);
|
|
32
32
|
|
|
@@ -399,6 +399,13 @@ const visitors = {
|
|
|
399
399
|
obf(ctx, node[3])
|
|
400
400
|
];
|
|
401
401
|
},
|
|
402
|
+
switch(ctx, node) {
|
|
403
|
+
return [
|
|
404
|
+
NODE.switch,
|
|
405
|
+
obf(ctx, node[1]),
|
|
406
|
+
node[2].map((c) => [obf(ctx, c[0]), c[1].map((s) => obf(ctx, s))])
|
|
407
|
+
];
|
|
408
|
+
},
|
|
402
409
|
arrayExpr(ctx, node) {
|
|
403
410
|
return [NODE.arrayExpr, node[1].map((node$1) => obf(ctx, node$1))];
|
|
404
411
|
},
|
|
@@ -420,6 +427,15 @@ const visitors = {
|
|
|
420
427
|
return [NODE.stringLiteral, node[1]];
|
|
421
428
|
},
|
|
422
429
|
objectExpr(ctx, node) {
|
|
430
|
+
if (Array.isArray(node[1])) return [NODE.objectExpr, node[1].map(([key, value, computed]) => computed ? [
|
|
431
|
+
obf(ctx, key),
|
|
432
|
+
obf(ctx, value),
|
|
433
|
+
computed
|
|
434
|
+
] : [
|
|
435
|
+
key,
|
|
436
|
+
obf(ctx, value),
|
|
437
|
+
computed
|
|
438
|
+
])];
|
|
423
439
|
return [NODE.objectExpr, Object.fromEntries(Object.entries(node[1]).map(([key, value]) => [key, obf(ctx, value)]))];
|
|
424
440
|
},
|
|
425
441
|
conditionalExpr(ctx, node) {
|
|
@@ -432,6 +448,14 @@ const visitors = {
|
|
|
432
448
|
},
|
|
433
449
|
nullLiteral(_, node) {
|
|
434
450
|
return node;
|
|
451
|
+
},
|
|
452
|
+
booleanLiteral(_, node) {
|
|
453
|
+
if (typeof node === "boolean") return node;
|
|
454
|
+
return [NODE.booleanLiteral, node[1]];
|
|
455
|
+
},
|
|
456
|
+
identifier(ctx, node) {
|
|
457
|
+
if (typeof node === "string") return obf(ctx, node);
|
|
458
|
+
return [NODE.identifier, obf(ctx, node[1])];
|
|
435
459
|
}
|
|
436
460
|
};
|
|
437
461
|
const nodeIdToName = new Map(Object.entries(NODE).map(([key, value]) => [value, key]));
|
|
@@ -552,6 +576,7 @@ const resourceConstructors = [
|
|
|
552
576
|
"vertexLayout",
|
|
553
577
|
"privateVar",
|
|
554
578
|
"workgroupVar",
|
|
579
|
+
"immediateVar",
|
|
555
580
|
"const",
|
|
556
581
|
"slot",
|
|
557
582
|
"accessor",
|
|
@@ -664,7 +689,7 @@ function functionOnExit(path, state) {
|
|
|
664
689
|
path.skip();
|
|
665
690
|
}
|
|
666
691
|
function transpile(rootNode, obf$1) {
|
|
667
|
-
const result = (0, tinyest_for_wgsl.
|
|
692
|
+
const result = (0, tinyest_for_wgsl.transpileBabelFn)(rootNode);
|
|
668
693
|
if (obf$1) return obfuscate(result);
|
|
669
694
|
return result;
|
|
670
695
|
}
|
package/esbuild.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
|
-
require('./common-
|
|
3
|
-
require('./babel-
|
|
4
|
-
require('./factory-
|
|
5
|
-
require('./bun-
|
|
6
|
-
require('./rolldown-browser-
|
|
7
|
-
const require_src = require('./src-
|
|
2
|
+
require('./common-jf8nOwlS.cjs');
|
|
3
|
+
require('./babel-XXxoIgFE.cjs');
|
|
4
|
+
require('./factory-BBG2udJs.cjs');
|
|
5
|
+
require('./bun-DUhn9N6e.cjs');
|
|
6
|
+
require('./rolldown-browser-CI6KJiIP.cjs');
|
|
7
|
+
const require_src = require('./src-CNzRp2o7.cjs');
|
|
8
8
|
|
|
9
9
|
//#region src/esbuild.ts
|
|
10
10
|
var esbuild_default = require_src.esbuildPlugin;
|
package/esbuild.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./common-
|
|
2
|
-
import "./babel-
|
|
3
|
-
import "./bun-
|
|
4
|
-
import "./rolldown-browser-
|
|
5
|
-
import { t as esbuildPlugin } from "./index-
|
|
1
|
+
import "./common-25hhdSUe.cjs";
|
|
2
|
+
import "./babel-DQEH6_D9.cjs";
|
|
3
|
+
import "./bun-DzFHIe4m.cjs";
|
|
4
|
+
import "./rolldown-browser-BS-Q7ZhD.cjs";
|
|
5
|
+
import { t as esbuildPlugin } from "./index-DusY3uDo.cjs";
|
|
6
6
|
export = esbuildPlugin;
|
package/esbuild.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./common-
|
|
2
|
-
import "./babel-
|
|
3
|
-
import "./bun-
|
|
4
|
-
import "./rolldown-browser-
|
|
5
|
-
import { t as esbuildPlugin } from "./index-
|
|
1
|
+
import "./common-DSCkJGcN.js";
|
|
2
|
+
import "./babel-BYhS2YIJ.js";
|
|
3
|
+
import "./bun-BVhK-8zV.js";
|
|
4
|
+
import "./rolldown-browser-Cuq6ooVs.js";
|
|
5
|
+
import { t as esbuildPlugin } from "./index-BVQ6A7AV.js";
|
|
6
6
|
export { esbuildPlugin as default };
|
package/esbuild.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./common-
|
|
2
|
-
import "./babel-
|
|
3
|
-
import "./factory-
|
|
4
|
-
import "./bun-
|
|
5
|
-
import "./rolldown-browser-
|
|
6
|
-
import { t as esbuildPlugin } from "./src-
|
|
1
|
+
import "./common-7JCcEWWG.js";
|
|
2
|
+
import "./babel-eBhrZbio.js";
|
|
3
|
+
import "./factory-KzEensgD.js";
|
|
4
|
+
import "./bun-Ba7l0qqo.js";
|
|
5
|
+
import "./rolldown-browser-DubZVfw3.js";
|
|
6
|
+
import { t as esbuildPlugin } from "./src-CrkbYAR5.js";
|
|
7
7
|
|
|
8
8
|
//#region src/esbuild.ts
|
|
9
9
|
var esbuild_default = esbuildPlugin;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
const require_common = require('./common-
|
|
1
|
+
const require_common = require('./common-jf8nOwlS.cjs');
|
|
2
2
|
let defu = require("defu");
|
|
3
3
|
defu = require_common.__toESM(defu);
|
|
4
|
-
let tinyest_for_wgsl = require("tinyest-for-wgsl");
|
|
5
|
-
tinyest_for_wgsl = require_common.__toESM(tinyest_for_wgsl);
|
|
6
4
|
let __babel_types = require("@babel/types");
|
|
7
5
|
__babel_types = require_common.__toESM(__babel_types);
|
|
8
6
|
let magic_string = require("magic-string");
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { a as functionVisitor, c as _objectSpread2, i as earlyPruneRegex, n as checkOpts, o as getBlockScope, r as defaultOptions, s as initPluginState, t as METADATA_FORMAT_VERSION } from "./common-
|
|
1
|
+
import { a as functionVisitor, c as _objectSpread2, i as earlyPruneRegex, n as checkOpts, o as getBlockScope, r as defaultOptions, s as initPluginState, t as METADATA_FORMAT_VERSION } from "./common-7JCcEWWG.js";
|
|
2
2
|
import defu from "defu";
|
|
3
|
-
import { transpileFn } from "tinyest-for-wgsl";
|
|
4
3
|
import * as t from "@babel/types";
|
|
5
4
|
import MagicString from "magic-string";
|
|
6
5
|
import { getBabelParserOptions, getLang } from "ast-kit";
|
package/farm.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
|
-
require('./common-
|
|
3
|
-
require('./babel-
|
|
4
|
-
require('./factory-
|
|
5
|
-
require('./bun-
|
|
6
|
-
require('./rolldown-browser-
|
|
7
|
-
const require_src = require('./src-
|
|
2
|
+
require('./common-jf8nOwlS.cjs');
|
|
3
|
+
require('./babel-XXxoIgFE.cjs');
|
|
4
|
+
require('./factory-BBG2udJs.cjs');
|
|
5
|
+
require('./bun-DUhn9N6e.cjs');
|
|
6
|
+
require('./rolldown-browser-CI6KJiIP.cjs');
|
|
7
|
+
const require_src = require('./src-CNzRp2o7.cjs');
|
|
8
8
|
|
|
9
9
|
//#region src/farm.ts
|
|
10
10
|
var farm_default = require_src.farmPlugin;
|
package/farm.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./common-
|
|
2
|
-
import "./babel-
|
|
3
|
-
import "./bun-
|
|
4
|
-
import "./rolldown-browser-
|
|
5
|
-
import { n as farmPlugin } from "./index-
|
|
1
|
+
import "./common-25hhdSUe.cjs";
|
|
2
|
+
import "./babel-DQEH6_D9.cjs";
|
|
3
|
+
import "./bun-DzFHIe4m.cjs";
|
|
4
|
+
import "./rolldown-browser-BS-Q7ZhD.cjs";
|
|
5
|
+
import { n as farmPlugin } from "./index-DusY3uDo.cjs";
|
|
6
6
|
export = farmPlugin;
|
package/farm.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./common-
|
|
2
|
-
import "./babel-
|
|
3
|
-
import "./bun-
|
|
4
|
-
import "./rolldown-browser-
|
|
5
|
-
import { n as farmPlugin } from "./index-
|
|
1
|
+
import "./common-DSCkJGcN.js";
|
|
2
|
+
import "./babel-BYhS2YIJ.js";
|
|
3
|
+
import "./bun-BVhK-8zV.js";
|
|
4
|
+
import "./rolldown-browser-Cuq6ooVs.js";
|
|
5
|
+
import { n as farmPlugin } from "./index-BVQ6A7AV.js";
|
|
6
6
|
export { farmPlugin as default };
|
package/farm.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./common-
|
|
2
|
-
import "./babel-
|
|
3
|
-
import "./factory-
|
|
4
|
-
import "./bun-
|
|
5
|
-
import "./rolldown-browser-
|
|
6
|
-
import { n as farmPlugin } from "./src-
|
|
1
|
+
import "./common-7JCcEWWG.js";
|
|
2
|
+
import "./babel-eBhrZbio.js";
|
|
3
|
+
import "./factory-KzEensgD.js";
|
|
4
|
+
import "./bun-Ba7l0qqo.js";
|
|
5
|
+
import "./rolldown-browser-DubZVfw3.js";
|
|
6
|
+
import { n as farmPlugin } from "./src-CrkbYAR5.js";
|
|
7
7
|
|
|
8
8
|
//#region src/farm.ts
|
|
9
9
|
var farm_default = farmPlugin;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { t as Options } from "./common-
|
|
2
|
-
import * as
|
|
1
|
+
import { t as Options } from "./common-DSCkJGcN.js";
|
|
2
|
+
import * as unplugin3 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: unplugin3.UnpluginInstance<Options | undefined, boolean>;
|
|
7
|
+
declare const vitePlugin: (options?: Options | undefined) => unplugin3.VitePlugin<any> | unplugin3.VitePlugin<any>[];
|
|
8
|
+
declare const rollupPlugin: (options?: Options | undefined) => unplugin3.RollupPlugin<any> | unplugin3.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) => unplugin3.WebpackPluginInstance;
|
|
11
11
|
declare const rspackPlugin: (options?: Options | undefined) => RspackPluginInstance;
|
|
12
|
-
declare const esbuildPlugin: (options?: Options | undefined) =>
|
|
12
|
+
declare const esbuildPlugin: (options?: Options | undefined) => unplugin3.EsbuildPlugin;
|
|
13
13
|
declare const farmPlugin: (options?: Options | undefined) => JsPlugin;
|
|
14
14
|
declare const unloaderPlugin: (options?: Options | undefined) => any;
|
|
15
15
|
//#endregion
|
package/index.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
|
-
require('./common-
|
|
3
|
-
const require_babel = require('./babel-
|
|
4
|
-
require('./factory-
|
|
5
|
-
const require_bun = require('./bun-
|
|
6
|
-
const require_rolldown_browser = require('./rolldown-browser-
|
|
7
|
-
const require_src = require('./src-
|
|
2
|
+
require('./common-jf8nOwlS.cjs');
|
|
3
|
+
const require_babel = require('./babel-XXxoIgFE.cjs');
|
|
4
|
+
require('./factory-BBG2udJs.cjs');
|
|
5
|
+
const require_bun = require('./bun-DUhn9N6e.cjs');
|
|
6
|
+
const require_rolldown_browser = require('./rolldown-browser-CI6KJiIP.cjs');
|
|
7
|
+
const require_src = require('./src-CNzRp2o7.cjs');
|
|
8
8
|
|
|
9
9
|
exports.babelPlugin = require_babel.TypeGPUPlugin;
|
|
10
10
|
exports.bunPlugin = require_bun.bun_default;
|
package/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Options } from "./common-
|
|
2
|
-
import { t as TypeGPUPlugin } from "./babel-
|
|
3
|
-
import { t as _default } from "./bun-
|
|
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-
|
|
1
|
+
import { t as Options } from "./common-25hhdSUe.cjs";
|
|
2
|
+
import { t as TypeGPUPlugin } from "./babel-DQEH6_D9.cjs";
|
|
3
|
+
import { t as _default } from "./bun-DzFHIe4m.cjs";
|
|
4
|
+
import { t as _default$1 } from "./rolldown-browser-BS-Q7ZhD.cjs";
|
|
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-DusY3uDo.cjs";
|
|
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/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Options } from "./common-
|
|
2
|
-
import { t as TypeGPUPlugin } from "./babel-
|
|
3
|
-
import { t as _default } from "./bun-
|
|
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-
|
|
1
|
+
import { t as Options } from "./common-DSCkJGcN.js";
|
|
2
|
+
import { t as TypeGPUPlugin } from "./babel-BYhS2YIJ.js";
|
|
3
|
+
import { t as _default } from "./bun-BVhK-8zV.js";
|
|
4
|
+
import { t as _default$1 } from "./rolldown-browser-Cuq6ooVs.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-BVQ6A7AV.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/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "./common-
|
|
2
|
-
import { t as TypeGPUPlugin } from "./babel-
|
|
3
|
-
import "./factory-
|
|
4
|
-
import { t as bun_default } from "./bun-
|
|
5
|
-
import { t as rolldown_browser_default } from "./rolldown-browser-
|
|
6
|
-
import { a as rspackPlugin, c as vitePlugin, i as rollupPlugin, l as webpackPlugin, n as farmPlugin, o as src_default, r as rolldownPlugin, s as unloaderPlugin, t as esbuildPlugin } from "./src-
|
|
1
|
+
import "./common-7JCcEWWG.js";
|
|
2
|
+
import { t as TypeGPUPlugin } from "./babel-eBhrZbio.js";
|
|
3
|
+
import "./factory-KzEensgD.js";
|
|
4
|
+
import { t as bun_default } from "./bun-Ba7l0qqo.js";
|
|
5
|
+
import { t as rolldown_browser_default } from "./rolldown-browser-DubZVfw3.js";
|
|
6
|
+
import { a as rspackPlugin, c as vitePlugin, i as rollupPlugin, l as webpackPlugin, n as farmPlugin, o as src_default, r as rolldownPlugin, s as unloaderPlugin, t as esbuildPlugin } from "./src-CrkbYAR5.js";
|
|
7
7
|
|
|
8
8
|
export { TypeGPUPlugin as babelPlugin, bun_default as bunPlugin, src_default as default, esbuildPlugin, farmPlugin, rolldown_browser_default 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.4",
|
|
4
4
|
"description": "Build plugins for TypeGPU, enabling seamless JavaScript -> WGSL transpilation and improved debugging.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"babel-plugin",
|
|
@@ -149,11 +149,11 @@
|
|
|
149
149
|
"pathe": "^2.0.3",
|
|
150
150
|
"picomatch": "^4.0.4",
|
|
151
151
|
"unplugin": "^3.0.0",
|
|
152
|
-
"tinyest": "~0.3.
|
|
153
|
-
"tinyest-for-wgsl": "~0.4.
|
|
152
|
+
"tinyest": "~0.3.4",
|
|
153
|
+
"tinyest-for-wgsl": "~0.4.2"
|
|
154
154
|
},
|
|
155
155
|
"peerDependencies": {
|
|
156
|
-
"typegpu": "^0.12.
|
|
156
|
+
"typegpu": "^0.12.6"
|
|
157
157
|
},
|
|
158
158
|
"main": "./index.js",
|
|
159
159
|
"types": "./index.d.ts",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Options } from "./common-
|
|
2
|
-
import * as magic_string0 from "magic-string";
|
|
1
|
+
import { t as Options } from "./common-25hhdSUe.cjs";
|
|
3
2
|
import * as unplugin6 from "unplugin";
|
|
3
|
+
import * as magic_string0 from "magic-string";
|
|
4
4
|
|
|
5
5
|
//#region src/rolldown-browser.d.ts
|
|
6
6
|
declare const _default: (options?: Options) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_factory = require('./factory-
|
|
1
|
+
const require_factory = require('./factory-BBG2udJs.cjs');
|
|
2
2
|
|
|
3
3
|
//#region src/rolldown-browser.ts
|
|
4
4
|
var rolldown_browser_default = (options) => require_factory.unpluginFactory(options !== null && options !== void 0 ? options : {}, { framework: "rolldown" });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Options } from "./common-
|
|
2
|
-
import * as unplugin6 from "unplugin";
|
|
1
|
+
import { t as Options } from "./common-DSCkJGcN.js";
|
|
3
2
|
import * as magic_string0 from "magic-string";
|
|
3
|
+
import * as unplugin0 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 | unplugin0.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 | unplugin0.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: unplugin0.UnpluginBuildContext & unplugin0.UnpluginContext, code: string, id: string): {
|
|
38
38
|
code: string;
|
|
39
39
|
readonly map: magic_string0.SourceMap;
|
|
40
40
|
} | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as unpluginFactory } from "./factory-
|
|
1
|
+
import { t as unpluginFactory } from "./factory-KzEensgD.js";
|
|
2
2
|
|
|
3
3
|
//#region src/rolldown-browser.ts
|
|
4
4
|
var rolldown_browser_default = (options) => unpluginFactory(options !== null && options !== void 0 ? options : {}, { framework: "rolldown" });
|
package/rolldown-browser.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
|
-
require('./common-
|
|
3
|
-
require('./factory-
|
|
4
|
-
const require_rolldown_browser = require('./rolldown-browser-
|
|
2
|
+
require('./common-jf8nOwlS.cjs');
|
|
3
|
+
require('./factory-BBG2udJs.cjs');
|
|
4
|
+
const require_rolldown_browser = require('./rolldown-browser-CI6KJiIP.cjs');
|
|
5
5
|
|
|
6
6
|
exports.default = require_rolldown_browser.rolldown_browser_default;
|
package/rolldown-browser.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "./common-
|
|
2
|
-
import { t as _default } from "./rolldown-browser-
|
|
1
|
+
import "./common-25hhdSUe.cjs";
|
|
2
|
+
import { t as _default } from "./rolldown-browser-BS-Q7ZhD.cjs";
|
|
3
3
|
export = _default;
|
package/rolldown-browser.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "./common-
|
|
2
|
-
import { t as _default } from "./rolldown-browser-
|
|
1
|
+
import "./common-DSCkJGcN.js";
|
|
2
|
+
import { t as _default } from "./rolldown-browser-Cuq6ooVs.js";
|
|
3
3
|
export { _default as default };
|
package/rolldown-browser.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./common-
|
|
2
|
-
import "./factory-
|
|
3
|
-
import { t as rolldown_browser_default } from "./rolldown-browser-
|
|
1
|
+
import "./common-7JCcEWWG.js";
|
|
2
|
+
import "./factory-KzEensgD.js";
|
|
3
|
+
import { t as rolldown_browser_default } from "./rolldown-browser-DubZVfw3.js";
|
|
4
4
|
|
|
5
5
|
export { rolldown_browser_default as default };
|
package/rolldown.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
|
-
require('./common-
|
|
3
|
-
require('./babel-
|
|
4
|
-
require('./factory-
|
|
5
|
-
require('./bun-
|
|
6
|
-
require('./rolldown-browser-
|
|
7
|
-
const require_src = require('./src-
|
|
2
|
+
require('./common-jf8nOwlS.cjs');
|
|
3
|
+
require('./babel-XXxoIgFE.cjs');
|
|
4
|
+
require('./factory-BBG2udJs.cjs');
|
|
5
|
+
require('./bun-DUhn9N6e.cjs');
|
|
6
|
+
require('./rolldown-browser-CI6KJiIP.cjs');
|
|
7
|
+
const require_src = require('./src-CNzRp2o7.cjs');
|
|
8
8
|
|
|
9
9
|
//#region src/rolldown.ts
|
|
10
10
|
var rolldown_default = require_src.rolldownPlugin;
|
package/rolldown.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./common-
|
|
2
|
-
import "./babel-
|
|
3
|
-
import "./bun-
|
|
4
|
-
import "./rolldown-browser-
|
|
5
|
-
import { r as rolldownPlugin } from "./index-
|
|
1
|
+
import "./common-25hhdSUe.cjs";
|
|
2
|
+
import "./babel-DQEH6_D9.cjs";
|
|
3
|
+
import "./bun-DzFHIe4m.cjs";
|
|
4
|
+
import "./rolldown-browser-BS-Q7ZhD.cjs";
|
|
5
|
+
import { r as rolldownPlugin } from "./index-DusY3uDo.cjs";
|
|
6
6
|
export = rolldownPlugin;
|
package/rolldown.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./common-
|
|
2
|
-
import "./babel-
|
|
3
|
-
import "./bun-
|
|
4
|
-
import "./rolldown-browser-
|
|
5
|
-
import { r as rolldownPlugin } from "./index-
|
|
1
|
+
import "./common-DSCkJGcN.js";
|
|
2
|
+
import "./babel-BYhS2YIJ.js";
|
|
3
|
+
import "./bun-BVhK-8zV.js";
|
|
4
|
+
import "./rolldown-browser-Cuq6ooVs.js";
|
|
5
|
+
import { r as rolldownPlugin } from "./index-BVQ6A7AV.js";
|
|
6
6
|
export { rolldownPlugin as default };
|
package/rolldown.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./common-
|
|
2
|
-
import "./babel-
|
|
3
|
-
import "./factory-
|
|
4
|
-
import "./bun-
|
|
5
|
-
import "./rolldown-browser-
|
|
6
|
-
import { r as rolldownPlugin } from "./src-
|
|
1
|
+
import "./common-7JCcEWWG.js";
|
|
2
|
+
import "./babel-eBhrZbio.js";
|
|
3
|
+
import "./factory-KzEensgD.js";
|
|
4
|
+
import "./bun-Ba7l0qqo.js";
|
|
5
|
+
import "./rolldown-browser-DubZVfw3.js";
|
|
6
|
+
import { r as rolldownPlugin } from "./src-CrkbYAR5.js";
|
|
7
7
|
|
|
8
8
|
//#region src/rolldown.ts
|
|
9
9
|
var rolldown_default = rolldownPlugin;
|
package/rollup.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
|
-
require('./common-
|
|
3
|
-
require('./babel-
|
|
4
|
-
require('./factory-
|
|
5
|
-
require('./bun-
|
|
6
|
-
require('./rolldown-browser-
|
|
7
|
-
const require_src = require('./src-
|
|
2
|
+
require('./common-jf8nOwlS.cjs');
|
|
3
|
+
require('./babel-XXxoIgFE.cjs');
|
|
4
|
+
require('./factory-BBG2udJs.cjs');
|
|
5
|
+
require('./bun-DUhn9N6e.cjs');
|
|
6
|
+
require('./rolldown-browser-CI6KJiIP.cjs');
|
|
7
|
+
const require_src = require('./src-CNzRp2o7.cjs');
|
|
8
8
|
|
|
9
9
|
//#region src/rollup.ts
|
|
10
10
|
var rollup_default = require_src.rollupPlugin;
|
package/rollup.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./common-
|
|
2
|
-
import "./babel-
|
|
3
|
-
import "./bun-
|
|
4
|
-
import "./rolldown-browser-
|
|
5
|
-
import { i as rollupPlugin } from "./index-
|
|
1
|
+
import "./common-25hhdSUe.cjs";
|
|
2
|
+
import "./babel-DQEH6_D9.cjs";
|
|
3
|
+
import "./bun-DzFHIe4m.cjs";
|
|
4
|
+
import "./rolldown-browser-BS-Q7ZhD.cjs";
|
|
5
|
+
import { i as rollupPlugin } from "./index-DusY3uDo.cjs";
|
|
6
6
|
export = rollupPlugin;
|
package/rollup.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./common-
|
|
2
|
-
import "./babel-
|
|
3
|
-
import "./bun-
|
|
4
|
-
import "./rolldown-browser-
|
|
5
|
-
import { i as rollupPlugin } from "./index-
|
|
1
|
+
import "./common-DSCkJGcN.js";
|
|
2
|
+
import "./babel-BYhS2YIJ.js";
|
|
3
|
+
import "./bun-BVhK-8zV.js";
|
|
4
|
+
import "./rolldown-browser-Cuq6ooVs.js";
|
|
5
|
+
import { i as rollupPlugin } from "./index-BVQ6A7AV.js";
|
|
6
6
|
export { rollupPlugin as default };
|
package/rollup.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./common-
|
|
2
|
-
import "./babel-
|
|
3
|
-
import "./factory-
|
|
4
|
-
import "./bun-
|
|
5
|
-
import "./rolldown-browser-
|
|
6
|
-
import { i as rollupPlugin } from "./src-
|
|
1
|
+
import "./common-7JCcEWWG.js";
|
|
2
|
+
import "./babel-eBhrZbio.js";
|
|
3
|
+
import "./factory-KzEensgD.js";
|
|
4
|
+
import "./bun-Ba7l0qqo.js";
|
|
5
|
+
import "./rolldown-browser-DubZVfw3.js";
|
|
6
|
+
import { i as rollupPlugin } from "./src-CrkbYAR5.js";
|
|
7
7
|
|
|
8
8
|
//#region src/rollup.ts
|
|
9
9
|
var rollup_default = rollupPlugin;
|
package/rspack.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
|
-
require('./common-
|
|
3
|
-
require('./babel-
|
|
4
|
-
require('./factory-
|
|
5
|
-
require('./bun-
|
|
6
|
-
require('./rolldown-browser-
|
|
7
|
-
const require_src = require('./src-
|
|
2
|
+
require('./common-jf8nOwlS.cjs');
|
|
3
|
+
require('./babel-XXxoIgFE.cjs');
|
|
4
|
+
require('./factory-BBG2udJs.cjs');
|
|
5
|
+
require('./bun-DUhn9N6e.cjs');
|
|
6
|
+
require('./rolldown-browser-CI6KJiIP.cjs');
|
|
7
|
+
const require_src = require('./src-CNzRp2o7.cjs');
|
|
8
8
|
|
|
9
9
|
//#region src/rspack.ts
|
|
10
10
|
var rspack_default = require_src.rspackPlugin;
|
package/rspack.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./common-
|
|
2
|
-
import "./babel-
|
|
3
|
-
import "./bun-
|
|
4
|
-
import "./rolldown-browser-
|
|
5
|
-
import { a as rspackPlugin } from "./index-
|
|
1
|
+
import "./common-25hhdSUe.cjs";
|
|
2
|
+
import "./babel-DQEH6_D9.cjs";
|
|
3
|
+
import "./bun-DzFHIe4m.cjs";
|
|
4
|
+
import "./rolldown-browser-BS-Q7ZhD.cjs";
|
|
5
|
+
import { a as rspackPlugin } from "./index-DusY3uDo.cjs";
|
|
6
6
|
export = rspackPlugin;
|
package/rspack.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./common-
|
|
2
|
-
import "./babel-
|
|
3
|
-
import "./bun-
|
|
4
|
-
import "./rolldown-browser-
|
|
5
|
-
import { a as rspackPlugin } from "./index-
|
|
1
|
+
import "./common-DSCkJGcN.js";
|
|
2
|
+
import "./babel-BYhS2YIJ.js";
|
|
3
|
+
import "./bun-BVhK-8zV.js";
|
|
4
|
+
import "./rolldown-browser-Cuq6ooVs.js";
|
|
5
|
+
import { a as rspackPlugin } from "./index-BVQ6A7AV.js";
|
|
6
6
|
export { rspackPlugin as default };
|
package/rspack.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./common-
|
|
2
|
-
import "./babel-
|
|
3
|
-
import "./factory-
|
|
4
|
-
import "./bun-
|
|
5
|
-
import "./rolldown-browser-
|
|
6
|
-
import { a as rspackPlugin } from "./src-
|
|
1
|
+
import "./common-7JCcEWWG.js";
|
|
2
|
+
import "./babel-eBhrZbio.js";
|
|
3
|
+
import "./factory-KzEensgD.js";
|
|
4
|
+
import "./bun-Ba7l0qqo.js";
|
|
5
|
+
import "./rolldown-browser-DubZVfw3.js";
|
|
6
|
+
import { a as rspackPlugin } from "./src-CrkbYAR5.js";
|
|
7
7
|
|
|
8
8
|
//#region src/rspack.ts
|
|
9
9
|
var rspack_default = rspackPlugin;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const require_common = require('./common-
|
|
2
|
-
const require_factory = require('./factory-
|
|
1
|
+
const require_common = require('./common-jf8nOwlS.cjs');
|
|
2
|
+
const require_factory = require('./factory-BBG2udJs.cjs');
|
|
3
3
|
let unplugin = require("unplugin");
|
|
4
4
|
unplugin = require_common.__toESM(unplugin);
|
|
5
5
|
|
package/vite.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
|
-
require('./common-
|
|
3
|
-
require('./babel-
|
|
4
|
-
require('./factory-
|
|
5
|
-
require('./bun-
|
|
6
|
-
require('./rolldown-browser-
|
|
7
|
-
const require_src = require('./src-
|
|
2
|
+
require('./common-jf8nOwlS.cjs');
|
|
3
|
+
require('./babel-XXxoIgFE.cjs');
|
|
4
|
+
require('./factory-BBG2udJs.cjs');
|
|
5
|
+
require('./bun-DUhn9N6e.cjs');
|
|
6
|
+
require('./rolldown-browser-CI6KJiIP.cjs');
|
|
7
|
+
const require_src = require('./src-CNzRp2o7.cjs');
|
|
8
8
|
|
|
9
9
|
//#region src/vite.ts
|
|
10
10
|
var vite_default = require_src.vitePlugin;
|
package/vite.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./common-
|
|
2
|
-
import "./babel-
|
|
3
|
-
import "./bun-
|
|
4
|
-
import "./rolldown-browser-
|
|
5
|
-
import { c as vitePlugin } from "./index-
|
|
1
|
+
import "./common-25hhdSUe.cjs";
|
|
2
|
+
import "./babel-DQEH6_D9.cjs";
|
|
3
|
+
import "./bun-DzFHIe4m.cjs";
|
|
4
|
+
import "./rolldown-browser-BS-Q7ZhD.cjs";
|
|
5
|
+
import { c as vitePlugin } from "./index-DusY3uDo.cjs";
|
|
6
6
|
export = vitePlugin;
|
package/vite.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./common-
|
|
2
|
-
import "./babel-
|
|
3
|
-
import "./bun-
|
|
4
|
-
import "./rolldown-browser-
|
|
5
|
-
import { c as vitePlugin } from "./index-
|
|
1
|
+
import "./common-DSCkJGcN.js";
|
|
2
|
+
import "./babel-BYhS2YIJ.js";
|
|
3
|
+
import "./bun-BVhK-8zV.js";
|
|
4
|
+
import "./rolldown-browser-Cuq6ooVs.js";
|
|
5
|
+
import { c as vitePlugin } from "./index-BVQ6A7AV.js";
|
|
6
6
|
export { vitePlugin as default };
|
package/vite.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./common-
|
|
2
|
-
import "./babel-
|
|
3
|
-
import "./factory-
|
|
4
|
-
import "./bun-
|
|
5
|
-
import "./rolldown-browser-
|
|
6
|
-
import { c as vitePlugin } from "./src-
|
|
1
|
+
import "./common-7JCcEWWG.js";
|
|
2
|
+
import "./babel-eBhrZbio.js";
|
|
3
|
+
import "./factory-KzEensgD.js";
|
|
4
|
+
import "./bun-Ba7l0qqo.js";
|
|
5
|
+
import "./rolldown-browser-DubZVfw3.js";
|
|
6
|
+
import { c as vitePlugin } from "./src-CrkbYAR5.js";
|
|
7
7
|
|
|
8
8
|
//#region src/vite.ts
|
|
9
9
|
var vite_default = vitePlugin;
|
package/webpack.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
|
-
require('./common-
|
|
3
|
-
require('./babel-
|
|
4
|
-
require('./factory-
|
|
5
|
-
require('./bun-
|
|
6
|
-
require('./rolldown-browser-
|
|
7
|
-
const require_src = require('./src-
|
|
2
|
+
require('./common-jf8nOwlS.cjs');
|
|
3
|
+
require('./babel-XXxoIgFE.cjs');
|
|
4
|
+
require('./factory-BBG2udJs.cjs');
|
|
5
|
+
require('./bun-DUhn9N6e.cjs');
|
|
6
|
+
require('./rolldown-browser-CI6KJiIP.cjs');
|
|
7
|
+
const require_src = require('./src-CNzRp2o7.cjs');
|
|
8
8
|
|
|
9
9
|
//#region src/webpack.ts
|
|
10
10
|
var webpack_default = require_src.webpackPlugin;
|
package/webpack.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./common-
|
|
2
|
-
import "./babel-
|
|
3
|
-
import "./bun-
|
|
4
|
-
import "./rolldown-browser-
|
|
5
|
-
import { l as webpackPlugin } from "./index-
|
|
1
|
+
import "./common-25hhdSUe.cjs";
|
|
2
|
+
import "./babel-DQEH6_D9.cjs";
|
|
3
|
+
import "./bun-DzFHIe4m.cjs";
|
|
4
|
+
import "./rolldown-browser-BS-Q7ZhD.cjs";
|
|
5
|
+
import { l as webpackPlugin } from "./index-DusY3uDo.cjs";
|
|
6
6
|
export = webpackPlugin;
|
package/webpack.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./common-
|
|
2
|
-
import "./babel-
|
|
3
|
-
import "./bun-
|
|
4
|
-
import "./rolldown-browser-
|
|
5
|
-
import { l as webpackPlugin } from "./index-
|
|
1
|
+
import "./common-DSCkJGcN.js";
|
|
2
|
+
import "./babel-BYhS2YIJ.js";
|
|
3
|
+
import "./bun-BVhK-8zV.js";
|
|
4
|
+
import "./rolldown-browser-Cuq6ooVs.js";
|
|
5
|
+
import { l as webpackPlugin } from "./index-BVQ6A7AV.js";
|
|
6
6
|
export { webpackPlugin as default };
|
package/webpack.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./common-
|
|
2
|
-
import "./babel-
|
|
3
|
-
import "./factory-
|
|
4
|
-
import "./bun-
|
|
5
|
-
import "./rolldown-browser-
|
|
6
|
-
import { l as webpackPlugin } from "./src-
|
|
1
|
+
import "./common-7JCcEWWG.js";
|
|
2
|
+
import "./babel-eBhrZbio.js";
|
|
3
|
+
import "./factory-KzEensgD.js";
|
|
4
|
+
import "./bun-Ba7l0qqo.js";
|
|
5
|
+
import "./rolldown-browser-DubZVfw3.js";
|
|
6
|
+
import { l as webpackPlugin } from "./src-CrkbYAR5.js";
|
|
7
7
|
|
|
8
8
|
//#region src/webpack.ts
|
|
9
9
|
var webpack_default = webpackPlugin;
|