We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b81a124 commit 1415b4dCopy full SHA for 1415b4d
docs/bundler-configuration.md
@@ -24,6 +24,24 @@ No additional configuration is typically required for Webpack 5+.
24
25
## esbuild / Bun
26
27
+### Bun Example ([bundler.ts](file:///Users/estebanrfp/.gemini/antigravity/playground/primal-triangulum/bundler.ts))
28
+
29
+When using `Bun.build`, add a step to copy the assets after the build completes:
30
31
+```js
32
+async function build() {
33
+ console.time("Build");
34
+ const result = await Bun.build({
35
+ entrypoints: ['./app.js'],
36
+ outdir: './dist',
37
+ target: 'browser',
38
+ });
39
+ console.timeEnd("Build");
40
+}
41
42
+await build();
43
+```
44
45
No additional configuration required.
46
47
## CDN Usage
0 commit comments