Testing
This commit is contained in:
@@ -45,14 +45,14 @@ func main() {
|
||||
os.MkdirAll(distDir, 0o755)
|
||||
|
||||
result := api.Build(api.BuildOptions{
|
||||
EntryPoints: []string{filepath.Join(root, "web", "src", "main.tsx")},
|
||||
Bundle: true,
|
||||
Outdir: distDir,
|
||||
Format: api.FormatESModule,
|
||||
Target: api.ES2020,
|
||||
JSX: api.JSXTransform,
|
||||
JSXFactory: "h",
|
||||
JSXFragment: "Fragment",
|
||||
EntryPoints: []string{filepath.Join(root, "web", "src", "main.tsx")},
|
||||
Bundle: true,
|
||||
Outdir: distDir,
|
||||
Format: api.FormatESModule,
|
||||
Target: api.ES2020,
|
||||
JSX: api.JSXTransform,
|
||||
JSXFactory: "h",
|
||||
JSXFragment: "Fragment",
|
||||
MinifyWhitespace: true,
|
||||
MinifyIdentifiers: true,
|
||||
MinifySyntax: true,
|
||||
|
||||
Reference in New Issue
Block a user