
Security News
CISA Kills Off RSS Feeds for KEVs and Cyber Alerts
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
postcss-nested-import
Advanced tools
PostCSS plugin for importing other stylesheet source files anywhere in your CSS.
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.
0.2.0 (2022-02-10)
c8
for coverage and uvu for unit testsjest
console.log
which reports contents of the resolved @import
test/mocks/
(previously mock vendors.css was shipping to npm)@import
.npmrc
just in case somebody forks and tries to run it using npm iprettier
and eslint
to trigger VSCode to format/lint the code (previous setup wasn't picked up by VSCode plugins)Closes issues #2, #3, #4, #5.
FAQs
PostCSS plugin for importing other stylesheet source files anywhere in your CSS.
The npm package postcss-nested-import receives a total of 2,550 weekly downloads. As such, postcss-nested-import popularity was classified as 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 for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.