Skip to content

v1.3.0

Choose a tag to compare

@BjornTheProgrammer BjornTheProgrammer released this 24 Nov 22:07
· 65 commits to main since this release

What's Changed

Filtering out certain extensions from being processed by this extension is now an option.

await Bun.build({
	entrypoints: ['./test/starting/index.html'],
	outdir: generationDirectory,
	plugins: [html({filter: ['.css', '.ico', '.tsx']})],
})

Adding other Bun plugins is now an option

await Bun.build({
	entrypoints: ['./test/starting/index.html'],
	outdir: generationDirectory,
	plugins: [html({
		plugin: dts()
	})],
})

Any file that is referenced in the HTML automatically gets put into the build file.