"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.dev = exports.prod = void 0;
const build_1 = require("./build");
function prod() {
    (0, build_1.build)({
        minify: true,
        sourcemap: false,
        bundle: true,
        logLevel: 'warning',
        entryPoints: ['src/client/platform/web/index.ts'],
        define: {
            'globalThis.env': '{"NODE_ENV": "production"}',
        },
        outfile: 'public/index.js',
    });
}
exports.prod = prod;
function dev() {
    (0, build_1.build)({
        minify: false,
        sourcemap: true,
        bundle: true,
        logLevel: 'warning',
        entryPoints: ['src/client/platform/web/index.ts'],
        define: {
            'globalThis.env': '{"NODE_ENV": "production"}',
        },
        outfile: 'public/index.js',
    });
}
exports.dev = dev;
//# sourceMappingURL=util.js.map