Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maximkoretskiy/postcss-alias-atrules
PostCSS plugin that creates aliases for at-rules.
https://github.com/maximkoretskiy/postcss-alias-atrules
Last synced: about 1 month ago
JSON representation
PostCSS plugin that creates aliases for at-rules.
- Host: GitHub
- URL: https://github.com/maximkoretskiy/postcss-alias-atrules
- Owner: maximkoretskiy
- License: mit
- Created: 2015-09-12T19:48:56.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-30T23:23:41.000Z (almost 9 years ago)
- Last Synced: 2024-09-28T09:23:15.644Z (about 1 month ago)
- Language: JavaScript
- Size: 5.86 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# PostCSS Alias Atrules
[![Build Status][ci-img]][ci] [![NPM][npm-img]][npm] [![David DM][david-img]][david][PostCSS] plugin that creates aliases for at-rules.
[PostCSS]: https://github.com/postcss/postcss
[ci-img]: https://travis-ci.org/maximkoretskiy/postcss-alias-atrules.svg
[ci]: https://travis-ci.org/maximkoretskiy/postcss-alias-atrules
[npm-img]: https://badge.fury.io/js/postcss-alias-atrules.svg
[npm]: https://www.npmjs.com/package/postcss-alias-atrules
[david-img]: https://david-dm.org/maximkoretskiy/postcss-alias-atrules.svg
[david]: https://david-dm.org/maximkoretskiy/postcss-alias-atrules```css
@i "path/to/import.css";
``````css
@import "path/to/import.css";
```## Usage
```js
postcss([ require('postcss-alias-atrules'){
rules: {
i: 'import'
}
} ])
```See [PostCSS] docs for examples for your environment.