https://github.com/postcss/postcss-deno-import
postcss-import plugin for Deno
https://github.com/postcss/postcss-deno-import
Last synced: 3 months ago
JSON representation
postcss-import plugin for Deno
- Host: GitHub
- URL: https://github.com/postcss/postcss-deno-import
- Owner: postcss
- Created: 2020-10-31T18:01:57.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-06-09T18:58:19.000Z (over 4 years ago)
- Last Synced: 2024-04-14T02:32:50.323Z (over 1 year ago)
- Language: JavaScript
- Size: 64.5 KB
- Stars: 4
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# postcss-import for Deno
Scripts to transform the source code of the postcss-import plugin for Deno
compatibility.
```sh
sh run.sh
```
To import PostCSS in your Deno project:
```js
import postcss from "https://deno.land/x/postcss/mod.js";
import postcssImport from "https://deno.land/x/postcss-import/mod.js";
const result = await postcss([postcssImport]).process(css);
```