File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,7 +9,21 @@ Plugin for [esbuild](https://esbuild.github.io/) to support PostCSS
99## Install
1010
1111``` bash
12- npm i esbuild esbuild-plugin-postcss
12+ npm i esbuild @deanc/esbuild-plugin-postcss
13+ ```
14+ or yarn
15+ ``` bash
16+ yarn add esbuid @deanc/esbuild-plugin-postcss
17+ ```
18+
19+ ## include file
20+ Es6+ syntax:
21+ ``` js
22+ import postCssPlugin from ' @deanc/esbuild-plugin-postcss' ;
23+ ```
24+ nodeModules:
25+ ``` js
26+ const postCssPlugin = require (" @deanc/esbuild-plugin-postcss" );
1327```
1428
1529## Usage example
@@ -33,7 +47,7 @@ Create file `build.js`:
3347``` js
3448const esbuild = require (" esbuild" );
3549const autoprefixer = require (" autoprefixer" );
36- const postCssPlugin = require (" esbuild-plugin-postcss" );
50+ const postCssPlugin = require (" @deanc/ esbuild-plugin-postcss" );
3751
3852esbuild
3953 .build ({
You can’t perform that action at this time.
0 commit comments