#How to Not Make Bun Bundle Fonts
1 messages · Page 1 of 1 (latest)
I made *.woff2 external lol
Does mean i have to manually have that file as hosted tho
I tried that, but it didn't work
cmd = Bun.spawn(
[
"bun",
"build",
"./nav/shared/index.css",
...cssFyl,
...jsFyl,
"--outdir=./dploy",
"--target=browser",
"--format=iife",
"--minify",
"--splitting",
"--sourcemap=none",
"--entry-naming=[dir]/[name].[ext]",
"--asset-naming=[dir]/[name].[ext]",
"--root=./nav",
"--drop=debugger",
"--pure=console.info",
"--pure=console.debug",
"--pure=console.warn",
"--pure=window.alert",
"--css-chunking",
"--external \"*.woff2\""
]```
i dont think you need the quotations here, and it prob should still have =
and maybe your using normal woff
Hmm
Thank you, does not go underlooked! Apparently it was the equals
Bun not bundle fonts but to no avail.