feat: Experimental browser support

This commit is contained in:
Vendicated 2022-10-04 00:52:42 +02:00
parent a9eae106c7
commit cc25753314
No known key found for this signature in database
GPG key ID: EC781ADFB93EFFA3
14 changed files with 212 additions and 41 deletions

View file

@ -2,7 +2,6 @@
import { execSync } from "child_process";
import esbuild from "esbuild";
import { readdirSync } from "fs";
import { performance } from "perf_hooks";
/**
* @type {esbuild.WatchMode|false}
@ -115,7 +114,7 @@ await Promise.all([
sourcemap: false,
watch,
minify: true,
})
}),
]).catch(err => {
console.error("Build failed");
console.error(err.message);