0.2.2 • Published 4 years ago

posthtml-css-expand-polymer v0.2.2

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

PostHTML-CSS-Expand-Polymer npm version Build Status

A fork of the posthtml-style-expantion plugin by renyamizuno. Corrected to work with WebComponents.

Install

npm i -D posthtml-css-expand-polymer

Usage

const posthtml = require('posthtml')

posthtml([require('posthtml-css-expand-polymer')({ root: './', encoding: 'utf-8' })])
  .process('<link expand="true" href="/path/index.css" rel="stylesheet">')
  .then( result => console.log(result.html))

Options

root: Root folder

encoding: Default utf-8

0.2.2

4 years ago

0.2.1

4 years ago