forked from Kieran/zap.stream
Fix deploy cmd
This commit is contained in:
parent
d449c4aa57
commit
5584eaea0a
@ -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": {
|
||||||
|
@ -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({
|
||||||
|
Loading…
Reference in New Issue
Block a user