https://github.com/izquiratops/esbuild-postcss
Use ESbuild with PostCSS 🎨
https://github.com/izquiratops/esbuild-postcss
esbuild postcss
Last synced: 4 months ago
JSON representation
Use ESbuild with PostCSS 🎨
- Host: GitHub
- URL: https://github.com/izquiratops/esbuild-postcss
- Owner: izquiratops
- Created: 2022-03-06T09:32:03.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-03-07T12:03:47.000Z (over 4 years ago)
- Last Synced: 2025-10-21T21:24:29.257Z (8 months ago)
- Topics: esbuild, postcss
- Language: JavaScript
- Homepage:
- Size: 67.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ESBuild + PostCSS 🖌
Made this repo to learn more about ESBuild. With this plugin I can use PostCSS on my personal projects.
## How to use
Once you got `esbuild` and `postcss` install the package:
`npm i @izquiratops/esbuild-postcss`
A build script can be written like this:
```
const postCssPlugin = require("@izquiratops/esbuild-postcss");
build({
entryPoints: ['src/index.ts'],
outdir: 'dist',
bundle: true,
plugins: [
postCssPlugin.default({
plugins: [autoprefixer]
})
]
})
```