eeg_nest/esbuild-client-prod.js

23 lines
450 B
JavaScript
Raw Normal View History

2023-05-09 15:39:39 +00:00
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",
});