tumblr-theme-loader
v1.0.1
Published
Tumblr theme loader for webpack.
Downloads
3
Maintainers
Readme
Tumblr Theme Loader
Tumblr theme loader for webpack. It uses Tumblr Theme Parser for parsing.
Install
npm i -D tumblr-theme-loader
Usage
webpack.config.js
{
module: {
rules: [
{
test: /\.html$/,
use: [
{
loader: 'tumblr-theme-loader',
options: {
tumblrData
}
}
]
}
]
}
}
Options
| Param | Type | Default | Description |
| --- | --- | --- | --- |
|tumblrData
|{Object}
| | Tumblr data. See more in Tumblr Theme Parser. |