postcss-parse-atrule-events
Postcss plugin for auto generating code
Installation
$ npm install postcss-parse-atrule-events --save
Usage
Via Node API
let result = ;
Example
Input:
@
Output:
let output = attachOn: "load" imports: "my/async/styles1.css" "my/async/styles1.css" styles: "" type: "on" attachOn: "immediately" imports: styles: ".my-critical-path-selector { width: 100px; height: 100px; }" type: "default" ;
Tests
git clone https://github.com/SerkanSipahi/app-decorators.gitcd app-decorators/packages/postcss-parse-atrule-eventsnpm run test