postcss-nested-import
Advanced tools
Weekly downloads
Readme
PostCSS plugin for importing other stylesheet source files anywhere in your CSS.
Before:
/* vendor.css */
.vendor {
background: silver;
}
/* index.css */
:global {
@import './vendor.css';
}
After:
:global {
.vendor {
background: silver;
}
}
postcss([
require('postcss-nested-import')
])
See PostCSS docs for examples for your environment.
FAQs
PostCSS plugin for importing other stylesheet source files anywhere in your CSS.
The npm package postcss-nested-import receives a total of 250 weekly downloads. As such, postcss-nested-import popularity was classified as not popular.
We found that postcss-nested-import demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.