wesl-plugin 0.6.64 → 0.6.65

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.
@@ -9855,7 +9855,7 @@ async function getRegistry(context, unpluginCtx) {
9855
9855
  async function findDependencies(context, unpluginCtx) {
9856
9856
  const { toml: toml$1, tomlDir: projectDir } = await getWeslToml(context, unpluginCtx);
9857
9857
  const weslSrc = await loadWesl(context, unpluginCtx);
9858
- const { dependencies = [] } = toml$1;
9858
+ const { dependencies = "auto" } = toml$1;
9859
9859
  const depsArray = Array.isArray(dependencies) ? dependencies : [dependencies];
9860
9860
  if (!depsArray.includes("auto")) return depsArray;
9861
9861
  const base = depsArray.filter((dep) => dep !== "auto");
@@ -1,4 +1,4 @@
1
- import { t as WeslPlugin_default } from "../WeslPlugin-DoZqj9KJ.mjs";
1
+ import { t as WeslPlugin_default } from "../WeslPlugin-CXZB9o3p.mjs";
2
2
 
3
3
  //#region src/plugins/astro.ts
4
4
  var astro_default = (options) => ({
@@ -1,4 +1,4 @@
1
- import { n as weslPlugin } from "../WeslPlugin-DoZqj9KJ.mjs";
1
+ import { n as weslPlugin } from "../WeslPlugin-CXZB9o3p.mjs";
2
2
  import { createEsbuildPlugin } from "unplugin";
3
3
 
4
4
  //#region src/plugins/esbuild.ts
@@ -1,4 +1,4 @@
1
- import { n as weslPlugin } from "../WeslPlugin-DoZqj9KJ.mjs";
1
+ import { n as weslPlugin } from "../WeslPlugin-CXZB9o3p.mjs";
2
2
  import { createFarmPlugin } from "unplugin";
3
3
 
4
4
  //#region src/plugins/farm.ts
@@ -1,4 +1,4 @@
1
- import "../WeslPlugin-DoZqj9KJ.mjs";
1
+ import "../WeslPlugin-CXZB9o3p.mjs";
2
2
  import vite_default from "./vite.mjs";
3
3
  import webpack_default from "./webpack.mjs";
4
4
  import { addVitePlugin, addWebpackPlugin, defineNuxtModule } from "@nuxt/kit";
@@ -1,4 +1,4 @@
1
- import { n as weslPlugin } from "../WeslPlugin-DoZqj9KJ.mjs";
1
+ import { n as weslPlugin } from "../WeslPlugin-CXZB9o3p.mjs";
2
2
  import { createRollupPlugin } from "unplugin";
3
3
 
4
4
  //#region src/plugins/rollup.ts
@@ -1,4 +1,4 @@
1
- import { n as weslPlugin } from "../WeslPlugin-DoZqj9KJ.mjs";
1
+ import { n as weslPlugin } from "../WeslPlugin-CXZB9o3p.mjs";
2
2
  import { createRspackPlugin } from "unplugin";
3
3
 
4
4
  //#region src/plugins/rspack.ts
@@ -1,4 +1,4 @@
1
- import { n as weslPlugin } from "../WeslPlugin-DoZqj9KJ.mjs";
1
+ import { n as weslPlugin } from "../WeslPlugin-CXZB9o3p.mjs";
2
2
  import { createVitePlugin } from "unplugin";
3
3
 
4
4
  //#region src/plugins/vite.ts
@@ -1,4 +1,4 @@
1
- import { n as weslPlugin } from "../WeslPlugin-DoZqj9KJ.mjs";
1
+ import { n as weslPlugin } from "../WeslPlugin-CXZB9o3p.mjs";
2
2
  import { createWebpackPlugin } from "unplugin";
3
3
 
4
4
  //#region src/plugins/webpack.ts
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "wesl-plugin",
3
3
  "description": "",
4
- "version": "0.6.64",
4
+ "version": "0.6.65",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "src",
@@ -25,7 +25,7 @@
25
25
  },
26
26
  "dependencies": {
27
27
  "unplugin": "^2.3.5",
28
- "wesl": "0.7.15"
28
+ "wesl": "0.7.16"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@nuxt/kit": "^3.17.6",
package/src/PluginApi.ts CHANGED
@@ -81,7 +81,7 @@ async function findDependencies(
81
81
  ): Promise<string[]> {
82
82
  const { toml, tomlDir: projectDir } = await getWeslToml(context, unpluginCtx);
83
83
  const weslSrc = await loadWesl(context, unpluginCtx);
84
- const { dependencies = [] } = toml;
84
+ const { dependencies = "auto" } = toml;
85
85
  const depsArray = Array.isArray(dependencies) ? dependencies : [dependencies];
86
86
  if (!depsArray.includes("auto")) return depsArray;
87
87