Testing
This commit is contained in:
1 parent
11120bedca
commit
c0f7e662be
76 files changed
+4368
-210
No files matched your search
@@ -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