We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f1e34f commit 6ab41cfCopy full SHA for 6ab41cf
netlify.toml
@@ -0,0 +1,20 @@
1
+[[plugins]]
2
+
3
+ # https://github.com/philhawksworth/netlify-plugin-minify-html#readme
4
+ package = "netlify-plugin-minify-html"
5
6
+ # Specify which deploy contexts we'll minify HTML in.
7
+ # Supports any Deploy Contexts available in Netlify.
8
+ # https://docs.netlify.com/site-deploys/overview/#deploy-contexts
9
+ [plugins.inputs]
10
+ contexts = [
11
+ 'production',
12
+ 'branch-deploy',
13
+ 'deploy-preview'
14
+ ]
15
16
+ # Optionally, override the default options for the minification
17
+ # https://github.com/kangax/html-minifier#options-quick-reference
18
+ [plugins.inputs.minifierOptions]
19
+ removeComments = true
20
+ collapseInlineTagWhitespace = true
0 commit comments