
Product
Introducing Socket MCP for Claude Desktop
Add secure dependency scanning to Claude Desktop with Socket MCP, a one-click extension that keeps your coding conversations safe from malicious packages.
postcss-easy-import
Advanced tools
PostCSS plugin to inline @import rules content with extra features
PostCSS plugin to inline @import rules content with extra features.
postcss([ require('postcss-easy-import') ])
See PostCSS docs for examples for your environment.
The path to the file will be checked and if it contains a glob it will be used to locate it. These can be mixed and matched with normal module paths:
@import "suitcss-utils-display"; /* node_modules */
@import "./theme.css"; /* relative path */
@import "./components/*.css"; /* glob */
@import "suitcss-utils-size/lib/*.css"; /* glob inside node_modules */
This plugin is a postcss-import extension which introduces its own resolve
option.
prefix
Type: false
or string
Default: false
Allows partial-like importing with a prefix before the filename.
@import 'modules/partial.css';
/* will import modules/_partial.css */
Prefixed versions are always favoured. Otherwise the non-prefix version is used:
├── _baz.css
├── baz.css
├── bar.css
The matched files would be ['_baz.css', 'bar.css']
.
extensions
Type: array
or string
Default: .css
Defines file extensions which will be looked for.
MIT © Bogdan Chadkin
4.0.0
postcss
to ^8.4.0
(major)postcss-import
to ^14.0.0
(major)>=10.0.0
(major)FAQs
PostCSS plugin to inline @import rules content with extra features
The npm package postcss-easy-import receives a total of 17,971 weekly downloads. As such, postcss-easy-import popularity was classified as popular.
We found that postcss-easy-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.
Product
Add secure dependency scanning to Claude Desktop with Socket MCP, a one-click extension that keeps your coding conversations safe from malicious packages.
Product
Socket now supports Scala and Kotlin, bringing AI-powered threat detection to JVM projects with easy manifest generation and fast, accurate scans.
Application Security
/Security News
Socket CEO Feross Aboukhadijeh and a16z partner Joel de la Garza discuss vibe coding, AI-driven software development, and how the rise of LLMs, despite their risks, still points toward a more secure and innovative future.