https://github.com/atomicojs/postcss-imported
https://github.com/atomicojs/postcss-imported
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/atomicojs/postcss-imported
- Owner: atomicojs
- Created: 2022-06-02T17:26:01.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-06-03T04:46:13.000Z (about 4 years ago)
- Last Synced: 2025-04-21T17:22:03.830Z (about 1 year ago)
- Language: TypeScript
- Size: 20.5 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# @atomico/postcss-imported
This plugin allows to know the local imports, in order to be observed by third-party tools
```js
const report = {};
await postcss([postcssImported(report)]).process(`@import "./deep-1.css";`, {
from: "./tests/demo.css",
});
console.log(report);
```