postxml-import-styles

0.1.0 • Public • Published

postxml-import-styles

npm version

PostXML plugin replace <link> with <style> and import css-code/

Installation

npm i postxml-import-styles --save-dev

Usage

Postxml

Options

cwd

Type: string
Default: ''

Example

Input

<link href="styles.css">

styles.css

body{
    display: none;
    overflow: hidden;
}

Output

<style>body{
    display: none;
    overflow: hidden;
}</style> 

Licence

MIT

Package Sidebar

Install

npm i postxml-import-styles

Weekly Downloads

0

Version

0.1.0

License

MIT

Last publish

Collaborators

  • yepninja