@lntvow/vite-plugin 0.0.4 → 0.0.6

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/index.cjs CHANGED
@@ -25,7 +25,7 @@ function vitePluginLogs(options = {}) {
25
25
  "utf8"
26
26
  );
27
27
  if (!packageJsonContent)
28
- throw new Error("version is required");
28
+ throw new Error("package.json not found");
29
29
  version = JSON.parse(packageJsonContent).version;
30
30
  }
31
31
  return {
package/dist/index.mjs CHANGED
@@ -15,7 +15,7 @@ function vitePluginLogs(options = {}) {
15
15
  "utf8"
16
16
  );
17
17
  if (!packageJsonContent)
18
- throw new Error("version is required");
18
+ throw new Error("package.json not found");
19
19
  version = JSON.parse(packageJsonContent).version;
20
20
  }
21
21
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lntvow/vite-plugin",
3
- "version": "0.0.4",
3
+ "version": "0.0.6",
4
4
  "description": "vite插件",
5
5
  "type": "module",
6
6
  "license": "MIT",