diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index e231e2678..acb7eb74c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -30,5 +30,5 @@ jobs: " rm -rf node_modules/@p-stream node_modules/.pnpm/@p-stream* pnpm install --no-frozen-lockfile - pnpm build + pnpm build || { echo "[deploy] BUILD FAILED, aborting"; exit 1; } pm2 restart pstream diff --git a/vite.config.mts b/vite.config.mts index 412480254..7a23a92b2 100644 --- a/vite.config.mts +++ b/vite.config.mts @@ -109,7 +109,7 @@ export default defineConfig(({ mode }) => { typescript: true, // check typescript build errors in dev server eslint: { // check lint errors in dev server - lintCommand: "eslint --ext .tsx,.ts src", + lintCommand: "eslint --ext .tsx,.ts --max-warnings 999 src", dev: { logLevel: ["error"], }, @@ -120,6 +120,7 @@ export default defineConfig(({ mode }) => { ], build: { + chunkSizeWarningLimit: 2000, sourcemap: mode !== "production", rollupOptions: { output: {