v2.1.0
·
44 commits
to main
since this release
What's Changed
- Removing of the plugins option, this just now works by just adding an additional plugin before
html(). - Implemented naming of files with
Bun.buildfor #11 - Exposed an option for naming just
cssfiles as part of #11
Upgrade to at least Bun v1.1.34 before using.
await Bun.build({
entrypoints: ['index.html'],
outdir: 'dist',
naming: {
chunk: 'js/[dir]/[name]-[hash].[ext]',
asset: 'assets/[name].[ext]',
entry: 'main.html'
},
plugins: [html({
naming: {
css: 'css/[name].[ext]'
}
})],
})Full Changelog: v2.0.0...v2.1.0