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,15 +136,19 @@ func runESBuild(source, dist, scriptDist, styleDist string, development bool, ta
}
}
footer := map[string]string{
"js": `
var footer map[string]string
if !development {
footer = map[string]string{
"js": `
/*
* Copyright protects this code. Use, reproduction, or
* modification of this code without prior written permission from the copyright holder
* is strictly prohibited. For inquiries regarding licenses or usage rights,
* please contact schukai GmbH.
*/`,
"css": `
"css": `
/*
* Copyright protects this code. Use, reproduction, or
* modification of this code without prior written permission from the copyright holder
......@@ -152,6 +156,8 @@ func runESBuild(source, dist, scriptDist, styleDist string, development bool, ta
* please contact schukai GmbH.
*/
`,
}
}
var sourceMap = api.SourceMapNone
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment