mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-09-13 07:35:35 -04:00
build shouldn't fail because process.env.HCAPTCHA_SITE_KEY
is missing
This commit is contained in:
@@ -90,10 +90,11 @@ export default (env, argv) => {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
}),
|
}),
|
||||||
new webpack.EnvironmentPlugin([
|
new webpack.EnvironmentPlugin({
|
||||||
// we need to dynamically inject the hcaptcha site key into the contact form
|
// we need to dynamically inject the hcaptcha site key into the contact form
|
||||||
"HCAPTCHA_SITE_KEY",
|
// fall back to the developer test key: https://docs.hcaptcha.com/#test-key-set-publisher-account
|
||||||
]),
|
HCAPTCHA_SITE_KEY: "10000000-ffff-ffff-ffff-000000000001",
|
||||||
|
}),
|
||||||
new AssetsManifestPlugin({
|
new AssetsManifestPlugin({
|
||||||
writeToDisk: true, // allow Hugo to access file in dev mode
|
writeToDisk: true, // allow Hugo to access file in dev mode
|
||||||
output: path.resolve(__dirname, "data/manifest.json"),
|
output: path.resolve(__dirname, "data/manifest.json"),
|
||||||
|
Reference in New Issue
Block a user