postxml-import-styles
v0.1.0
Published
Postxml plugin replace `<link>` with `<style>` and import css-code.
Downloads
2
Readme
postxml-import-styles
PostXML plugin replace
<link>
with<style>
and import css-code/
Installation
npm i postxml-import-styles --save-dev
Usage
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