bun-build-extended
v0.0.2
Published
Temporary package to extend `bun build` to support CSS via [`tailwindcss`](https://tailwindui.com/) or [`postcss-cli`](https://github.com/postcss/postcss-cli)
Downloads
2
Readme
bun-build-extended
Temporary package to extend bun build
to support CSS via tailwindcss
or postcss-cli
Installation
bun add bun-build-extended
Usage
CLI
All bun build
options are supported.
bunx build-extended index.css index.tsx --outdir=dist --minify-whitespace
API
import {buildExtended} from 'bun-build-extended';
import type {BuildOutput} from "bun";
const artifacts: BuildOutput = buildExtended({
entryPoints: ['index.css', 'index.tsx'],
outdir: './dist',
// other options https://bun.sh/docs/bundler#api
});