vite-plugin-debugger 0.0.1 → 0.0.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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -179,7 +179,7 @@ var transformVConsoleImport = (code, opts) => {
179
179
  // src/index.ts
180
180
  var src_default = (options) => {
181
181
  const { eruda, vConsole, local, entry } = options;
182
- const entryPath = (Array.isArray(entry) ? entry : [entry]).map((path) => slash(path));
182
+ const entryPath = entry ? (Array.isArray(entry) ? entry : [entry]).map((path) => slash(path)) : [];
183
183
  if (eruda && vConsole) {
184
184
  throw new Error("[vite-plugin-debugger]: You'd better use only one debugger tool at a time.");
185
185
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vite-plugin-debugger",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "A vite plugin provide the debugger tools for mobile devices.",
5
5
  "author": "jade-gjz",
6
6
  "license": "MIT",
@@ -47,6 +47,6 @@
47
47
  "build": "tsup src/index.ts --dts",
48
48
  "prepublish": "pnpm build",
49
49
  "lint": "eslint . --fix",
50
- "release": "bumpp package.json --commit --push --tag && pnpm publish --access public"
50
+ "release": "bumpp package.json --commit --push --tag && pnpm publish --access public --no-git-checks"
51
51
  }
52
52
  }