1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-18 22:05:29 -04:00

hugo mod init, and other cleanup

This commit is contained in:
2020-03-10 23:11:10 -04:00
parent 2b6466fa2f
commit 6c59bb2edc
16 changed files with 147 additions and 123 deletions

View File

@@ -4,7 +4,7 @@
[build.environment]
NODE_VERSION = "12.16.1"
YARN_VERSION = "1.22.0"
YARN_VERSION = "1.22.4"
YARN_FLAGS = "--no-ignore-optional --frozen-lockfile"
# Ensure *only* Pretty URLs are enabled, even though this is already set up in
@@ -28,6 +28,14 @@
[context.branch-deploy]
command = "yarn build:preview"
# https://github.com/netlify/cli/blob/master/docs/netlify-dev.md#netlifytoml-dev-block
[dev]
command = "yarn start"
port = 1338
targetPort = 1337
publish = "public"
autoLaunch = false
# The most important headers and redirects are specified in the _headers and
# _redirects files generated by Hugo. These are additional custom rules.