mirror of
https://github.com/sergeyyarkov/yarkov.tech.git
synced 2026-10-11 10:29:21 +03:00
25 lines
701 B
TOML
25 lines
701 B
TOML
[build]
|
|
command = "npm run build"
|
|
publish = "dist"
|
|
|
|
|
|
# Config for the Netlify Build Plugin: netlify-plugin-minify-html
|
|
[[plugins]]
|
|
package = "netlify-plugin-minify-html"
|
|
|
|
# Specify which deploy contexts we'll minify HTML in.
|
|
# Supports any Deploy Contexts available in Netlify.
|
|
# https://docs.netlify.com/site-deploys/overview/#deploy-contexts
|
|
[plugins.inputs]
|
|
contexts = [
|
|
'production',
|
|
'branch-deploy',
|
|
'deploy-preview'
|
|
]
|
|
|
|
# Optionally, override the default options for the minification
|
|
# https://github.com/kangax/html-minifier#options-quick-reference
|
|
[plugins.inputs.minifierOptions]
|
|
removeComments = false
|
|
collapseInlineTagWhitespace = false
|