Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
postcss-easy-import
Advanced tools
Changelog
4.0.0
postcss
to ^8.4.0
(major)postcss-import
to ^14.0.0
(major)>=10.0.0
(major)Readme
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
FAQs
PostCSS plugin to inline @import rules content with extra features
The npm package postcss-easy-import receives a total of 24,147 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.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.