0.0.2 • Published 3 years ago
esbuild-plugin-html-template v0.0.2
esbuild-plugin-html-template
Description
A simple esbuild plugin to generate html file.
notice only works when
write
is set tofalse
Usage
import { htmlPlugin } from 'esbuild-plugin-html-template'
import esbuild from 'esbuild'
esbuild.build({
...,
bundle: true,
write: false,
plugins: [
htmlPlugin(),
],
...,
})
0.0.2
3 years ago