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:
10
netlify.toml
10
netlify.toml
@@ -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.
|
||||
|
Reference in New Issue
Block a user