posthtml-style-expansion

0.2.0 • Public • Published

PostHTML-Style-Expansion npm version Build Status

PostHTML plugin expand link rel="stylesheet".

Install

npm i -D posthtml-style-expansion

Usage

const posthtml = require('posthtml')
 
posthtml([require('posthtml-style-expansion')({ 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

Readme

Keywords

Package Sidebar

Install

npm i posthtml-style-expansion

Weekly Downloads

1

Version

0.2.0

License

MIT

Unpacked Size

4.1 kB

Total Files

7

Last publish

Collaborators

  • merotan