1.0.1 • Published 6 years ago
tumblr-theme-loader v1.0.1
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. |