From 5584eaea0ad2cd66e5b00e065e456140d1a2795f Mon Sep 17 00:00:00 2001 From: Kieran Date: Sun, 6 Aug 2023 16:10:41 +0100 Subject: [PATCH] Fix deploy cmd --- package.json | 2 +- webpack.config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 4dd7ce3..40ea3cf 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,7 @@ "scripts": { "start": "webpack serve", "build": "webpack --node-env=production", - "deploy": "__XXX='false' && yarn build && npx wrangler pages publish build", + "deploy": "__XXX='false' && yarn build && npx wrangler pages publish --project-name nostr-live build", "deploy:xxzap": "__XXX='true' && yarn build && npx wrangler pages publish --project-name xxzap build" }, "eslintConfig": { diff --git a/webpack.config.js b/webpack.config.js index c9b2477..140f67d 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -56,7 +56,7 @@ const config = { new ESLintPlugin({ extensions: ["js", "mjs", "jsx", "ts", "tsx"], eslintPath: require.resolve("eslint"), - failOnError: true, + failOnError: !isProduction, cache: true, }), new MiniCssExtractPlugin({