Fix deploy cmd

This commit is contained in:
Kieran 2023-08-06 16:10:41 +01:00
parent d449c4aa57
commit 5584eaea0a
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941
2 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@
"scripts": { "scripts": {
"start": "webpack serve", "start": "webpack serve",
"build": "webpack --node-env=production", "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" "deploy:xxzap": "__XXX='true' && yarn build && npx wrangler pages publish --project-name xxzap build"
}, },
"eslintConfig": { "eslintConfig": {

View File

@ -56,7 +56,7 @@ const config = {
new ESLintPlugin({ new ESLintPlugin({
extensions: ["js", "mjs", "jsx", "ts", "tsx"], extensions: ["js", "mjs", "jsx", "ts", "tsx"],
eslintPath: require.resolve("eslint"), eslintPath: require.resolve("eslint"),
failOnError: true, failOnError: !isProduction,
cache: true, cache: true,
}), }),
new MiniCssExtractPlugin({ new MiniCssExtractPlugin({