esbuild-plugin-postcss2
esbuild-plugin-postcss2 copied to clipboard
Use postcss with esbuild
Hey there! I was trying this out today and everything seems to work great. The only thing I noticed was that if we were to run esbuild and watch, if...
I use @fluentui/react components in my react project, it works fine if I don't install esbuild-plugin-postcss2. After installing this plugin, it will report errors when compiling the @fluentui/react. ``` $...
This PR is cherry-pick from: https://github.com/baurine/esbuild-plugin-postcss3/pull/4 What did: Use [resolve](https://www.npmjs.com/package/resolve) npm package instead of [resolve-file](https://www.npmjs.com/package/resolve-files) npm package to resolve the import path, this can fix the 2 below bugs: -...
Unlike 0.1.1, 0.1.2 doesn't write a .css file when compiling. I'm not sure what the problem is but it's not just for me, and in Github Actions the tests failed.
Right now there is no way to control how the plugin decides if a file should be treated as a module, cause regexp for that is hard-coded as `/\.module/`. If...
Hi, I think you should remove this from package.json ``` "pre-commit": "prettier --write . && git add -A" ``` It is a dangerous option, that can silently delete changes made...
Hi, thanks for this plugin! I'm wondering if this allows using esbuild with the tailwind CSS processor?
## What did - Support cache the `.css/.less/.scss` files compilation result (not support `.styl` yet, need help), to reduce the rebuild time in dev mode ## Background I use this...
If we use as the following code in the doc: ```js const esbuild = require("esbuild"); const postCssPlugin = require("esbuild-plugin-postcss2"); esbuild.build({ ... plugins: [ postCssPlugin.default() ] ... }); ``` It will...
Fix the bug that if we pass `({plugins: [autoprefix]})` will make other options become `undefined`.