Skip to content
Snippets Groups Projects
Verified Commit aa2e3c1c authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

fix: remove license info for development #9

parent 48b4023f
No related branches found
No related tags found
No related merge requests found
......@@ -136,7 +136,11 @@ func runESBuild(source, dist, scriptDist, styleDist string, development bool, ta
}
}
footer := map[string]string{
var footer map[string]string
if !development {
footer = map[string]string{
"js": `
/*
* Copyright protects this code. Use, reproduction, or
......@@ -154,6 +158,8 @@ func runESBuild(source, dist, scriptDist, styleDist string, development bool, ta
`,
}
}
var sourceMap = api.SourceMapNone
if development {
sourceMap = api.SourceMapInline
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment