Skip to content

Commit

Permalink
fix: ignore vite cjs warning
Browse files Browse the repository at this point in the history
  • Loading branch information
suyuan32 committed Jun 13, 2024
1 parent 5381f3d commit a86d816
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"build:no-cache": "pnpm store prune && pnpm run build",
"build:test": "cross-env NODE_OPTIONS=--max-old-space-size=8192 pnpm vite build --mode test",
"commit": "czg",
"dev": "pnpm vite",
"dev": "cross-env VITE_CJS_IGNORE_WARNING=true pnpm vite",
"preinstall": "npx only-allow pnpm",
"postinstall": "turbo run stub",
"lint": "turbo run lint",
Expand All @@ -34,7 +34,7 @@
"prepare": "husky",
"preview": "pnpm run build && vite preview",
"reinstall": "rimraf pnpm-lock.yaml && rimraf package.lock.json && rimraf node_modules && pnpm run bootstrap",
"serve": "pnpm run dev",
"serve": "cross-env VITE_CJS_IGNORE_WARNING=true pnpm run dev",
"test:gzip": "npx http-server dist --cors --gzip -c-1",
"type:check": "vue-tsc --noEmit --skipLibCheck"
},
Expand Down

0 comments on commit a86d816

Please sign in to comment.