Socket
Socket
Sign inDemoInstall

postcss-easy-import

Package Overview
Dependencies
327
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    postcss-easy-import

PostCSS plugin to inline @import rules content with extra features


Version published
Weekly downloads
26K
decreased by-9.19%
Maintainers
1
Install size
36.0 MB
Created
Weekly downloads
 

Changelog

Source

1.0.1

  • Fix package.json files filter

Readme

Source

postcss-easy-import Build Status

PostCSS plugin to inline @import rules content with extra features.

Usage

postcss([ require('postcss-easy-import') ])

See PostCSS docs for examples for your environment.

Options

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 */

extensions

Type: array or string Default: .css

Defines file extensions which will be looked for.

glob

Type: boolean Default: false

Disables module lookup and imports modules based on a glob pattern.

License

MIT © Bogdan Chadkin

Keywords

FAQs

Last updated on 30 Jan 2016

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc