postcss-easy-import
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