CSS Modules: Extract Imports
Transforms:
)
into:
/) )
Specification
- Only a certain whitelist of properties are inspected. Currently, that whitelist is
['composes']
alone. - An extend-import has the following format:
composes: className [... className] from "path/to/file.css";
Options
failOnWrongOrder
bool
generates exception for unpredictable imports order.
Building
npm install
npm test
License
ISC
With thanks
- Mark Dalgleish
- Tobias Koppers
- Guy Bedford
Glen Maddern, 2015.