unplugin-typegpu 0.11.0 → 0.11.1

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.
Files changed (77) hide show
  1. package/{babel-C0RyQRMk.d.mts → babel-C8UzthFd.d.cts} +1 -2
  2. package/{babel-Bnfeonoo.mjs → babel-CbManzjz.js} +7 -5
  3. package/{babel-C1TaJd38.d.cts → babel-CmCnq-43.d.ts} +1 -2
  4. package/{babel-izRcz0Uk.cjs → babel-Dis-Pwfu.cjs} +33 -27
  5. package/babel.cjs +5 -6
  6. package/babel.d.cts +2 -1
  7. package/babel.d.ts +3 -0
  8. package/babel.js +4 -0
  9. package/{bun-DFr_PiLh.mjs → bun-CDECNeIU.js} +7 -5
  10. package/{bun-CUGitP44.cjs → bun-DCACcaN2.cjs} +32 -25
  11. package/{bun-9JrHWE4u.d.mts → bun-cwXs2EDP.d.cts} +1 -1
  12. package/{bun-ChNeklBe.d.cts → bun-ovScJ4Es.d.ts} +1 -1
  13. package/bun.cjs +5 -6
  14. package/bun.d.cts +2 -1
  15. package/bun.d.ts +3 -0
  16. package/bun.js +4 -0
  17. package/{common-BvAFT5IV.d.mts → common-BlvLUwEz.d.ts} +4 -4
  18. package/{common-Ccx_dEqH.cjs → common-BoeQmwpt.cjs} +48 -37
  19. package/{common-e08X6w0a.mjs → common-CElmMmuq.js} +9 -2
  20. package/{common-BKqBivuE.d.cts → common-DZ2cLtbe.d.cts} +2 -2
  21. package/esbuild.cjs +9 -6
  22. package/esbuild.d.cts +4 -1
  23. package/esbuild.d.ts +5 -0
  24. package/esbuild.js +10 -0
  25. package/farm.cjs +9 -6
  26. package/farm.d.cts +4 -1
  27. package/farm.d.ts +5 -0
  28. package/farm.js +10 -0
  29. package/{index-HrLja1mV.d.cts → index-COIv1oYx.d.cts} +14 -14
  30. package/{index-BuKVXaph.d.mts → index-PPreQbn5.d.ts} +14 -14
  31. package/index.cjs +8 -9
  32. package/index.d.cts +4 -4
  33. package/{index.d.mts → index.d.ts} +4 -4
  34. package/index.js +6 -0
  35. package/package.json +2 -3
  36. package/rolldown.cjs +9 -6
  37. package/rolldown.d.cts +4 -1
  38. package/rolldown.d.ts +5 -0
  39. package/rolldown.js +10 -0
  40. package/rollup.cjs +9 -6
  41. package/rollup.d.cts +4 -1
  42. package/rollup.d.ts +5 -0
  43. package/rollup.js +10 -0
  44. package/rspack.cjs +9 -6
  45. package/rspack.d.cts +4 -1
  46. package/rspack.d.ts +5 -0
  47. package/rspack.js +10 -0
  48. package/{src-BV9Uh6WO.mjs → src-D84rmPxv.js} +6 -2
  49. package/src-bIj7OBnd.cjs +82 -0
  50. package/vite.cjs +9 -6
  51. package/vite.d.cts +4 -1
  52. package/vite.d.ts +5 -0
  53. package/vite.js +10 -0
  54. package/webpack.cjs +9 -6
  55. package/webpack.d.cts +4 -1
  56. package/webpack.d.ts +5 -0
  57. package/webpack.js +10 -0
  58. package/babel.d.mts +0 -2
  59. package/babel.mjs +0 -2
  60. package/bun.d.mts +0 -2
  61. package/bun.mjs +0 -2
  62. package/esbuild.d.mts +0 -2
  63. package/esbuild.mjs +0 -5
  64. package/farm.d.mts +0 -2
  65. package/farm.mjs +0 -5
  66. package/index.mjs +0 -4
  67. package/rolldown.d.mts +0 -2
  68. package/rolldown.mjs +0 -5
  69. package/rollup.d.mts +0 -2
  70. package/rollup.mjs +0 -5
  71. package/rspack.d.mts +0 -2
  72. package/rspack.mjs +0 -5
  73. package/src-2vvPp2dY.cjs +0 -77
  74. package/vite.d.mts +0 -2
  75. package/vite.mjs +0 -5
  76. package/webpack.d.mts +0 -2
  77. package/webpack.mjs +0 -5
package/src-2vvPp2dY.cjs DELETED
@@ -1,77 +0,0 @@
1
- require("./common-Ccx_dEqH.cjs");
2
- const require_bun = require("./bun-CUGitP44.cjs");
3
- let unplugin = require("unplugin");
4
- //#region src/rolldown-browser.ts
5
- var rolldown_browser_default = (options) => require_bun.unpluginFactory(options !== null && options !== void 0 ? options : {}, { framework: "rolldown" });
6
- //#endregion
7
- //#region src/index.ts
8
- const typegpu = /* @__PURE__ */ (0, unplugin.createUnplugin)(require_bun.unpluginFactory);
9
- const vitePlugin = typegpu.vite;
10
- const rollupPlugin = typegpu.rollup;
11
- const rolldownPlugin = typegpu.rolldown;
12
- const webpackPlugin = typegpu.webpack;
13
- const rspackPlugin = typegpu.rspack;
14
- const esbuildPlugin = typegpu.esbuild;
15
- const farmPlugin = typegpu.farm;
16
- const unloaderPlugin = typegpu.unloader;
17
- //#endregion
18
- Object.defineProperty(exports, "esbuildPlugin", {
19
- enumerable: true,
20
- get: function() {
21
- return esbuildPlugin;
22
- }
23
- });
24
- Object.defineProperty(exports, "farmPlugin", {
25
- enumerable: true,
26
- get: function() {
27
- return farmPlugin;
28
- }
29
- });
30
- Object.defineProperty(exports, "rolldownPlugin", {
31
- enumerable: true,
32
- get: function() {
33
- return rolldownPlugin;
34
- }
35
- });
36
- Object.defineProperty(exports, "rolldown_browser_default", {
37
- enumerable: true,
38
- get: function() {
39
- return rolldown_browser_default;
40
- }
41
- });
42
- Object.defineProperty(exports, "rollupPlugin", {
43
- enumerable: true,
44
- get: function() {
45
- return rollupPlugin;
46
- }
47
- });
48
- Object.defineProperty(exports, "rspackPlugin", {
49
- enumerable: true,
50
- get: function() {
51
- return rspackPlugin;
52
- }
53
- });
54
- Object.defineProperty(exports, "typegpu", {
55
- enumerable: true,
56
- get: function() {
57
- return typegpu;
58
- }
59
- });
60
- Object.defineProperty(exports, "unloaderPlugin", {
61
- enumerable: true,
62
- get: function() {
63
- return unloaderPlugin;
64
- }
65
- });
66
- Object.defineProperty(exports, "vitePlugin", {
67
- enumerable: true,
68
- get: function() {
69
- return vitePlugin;
70
- }
71
- });
72
- Object.defineProperty(exports, "webpackPlugin", {
73
- enumerable: true,
74
- get: function() {
75
- return webpackPlugin;
76
- }
77
- });
package/vite.d.mts DELETED
@@ -1,2 +0,0 @@
1
- import { c as vitePlugin } from "./index-BuKVXaph.mjs";
2
- export { vitePlugin as default };
package/vite.mjs DELETED
@@ -1,5 +0,0 @@
1
- import { c as vitePlugin } from "./src-BV9Uh6WO.mjs";
2
- //#region src/vite.ts
3
- var vite_default = vitePlugin;
4
- //#endregion
5
- export { vite_default as default };
package/webpack.d.mts DELETED
@@ -1,2 +0,0 @@
1
- import { l as webpackPlugin } from "./index-BuKVXaph.mjs";
2
- export { webpackPlugin as default };
package/webpack.mjs DELETED
@@ -1,5 +0,0 @@
1
- import { l as webpackPlugin } from "./src-BV9Uh6WO.mjs";
2
- //#region src/webpack.ts
3
- var webpack_default = webpackPlugin;
4
- //#endregion
5
- export { webpack_default as default };