forked from vincens2005/myschoolapp-better-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
76 lines (67 loc) · 1.36 KB
/
netlify.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
[build.processing]
skip_processing = false
[build.processing.css]
bundle = false
minify = false
[build.processing.js]
bundle = false
minify = false
[build.processing.html]
pretty_urls = false
[build.processing.images]
compress = true
[dev]
dir = "frontend/"
command = "live-server --port=5500 --no-browser"
targetPort = 5500
framework = "#custom"
publish = "frontend/"
[functions]
node_bundler = "esbuild"
[[plugins]]
package = "@netlify/plugin-local-install-core"
[[plugins]]
package = "netlify-plugin-minify-html"
[plugins.inputs]
contexts = [
'production',
'branch-deploy',
'deploy-preview'
]
[plugins.inputs.minifierOptions]
removeComments = true
minifyCSS = false
minifyJS = true
collapseInlineTagWhitespace = true
collapseWhitespace = true
removeOptionalTags = false
[[plugins]]
package = "./plugins/css_minify"
[plugins.inputs]
contexts = [
'production',
'branch-deploy',
'deploy-preview'
]
[plugins.inputs.minifierOptions]
strict = false
[[plugins]]
package = "./plugins/js_minify"
[plugins.inputs]
contexts = [
'production',
'branch-deploy',
'deploy-preview'
]
[plugins.inputs.minifierOptions]
mangle = true
ecma = 9
[[edge_functions]]
path = "/theme.css"
function = "theme"
[[edge_functions]]
path = "/frontend/theme.css"
function = "theme"
[[edge_functions]]
path = "/proxy/*"
function = "proxy"