eeg_nest/esbuild-client-prod.js
2023-05-09 10:39:39 -05:00

23 lines
450 B
JavaScript

const { build } = require("esbuild");
const { solidPlugin } = require("esbuild-plugin-solid");
build({
platform: "browser",
entryPoints: [
"src/views/hydration.ts",
],
bundle: true,
minify: true,
logLevel: "info",
plugins: [
solidPlugin({
solid: {
generate: "dom",
hydratable: true,
},
})
],
outdir: "static",
format: "cjs",
});