https://github.com/ruslanxdev/tumblr-theme-loader
Tumblr theme loader for webpack.
https://github.com/ruslanxdev/tumblr-theme-loader
tumblr tumblr-theme webpack webpack-loader
Last synced: about 2 months ago
JSON representation
Tumblr theme loader for webpack.
- Host: GitHub
- URL: https://github.com/ruslanxdev/tumblr-theme-loader
- Owner: ruslanxdev
- License: mit
- Created: 2018-06-10T11:26:32.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-11T21:43:13.000Z (about 8 years ago)
- Last Synced: 2026-03-20T00:42:54.907Z (4 months ago)
- Topics: tumblr, tumblr-theme, webpack, webpack-loader
- Language: JavaScript
- Size: 369 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Tumblr Theme Loader
[](https://npmjs.com/package/tumblr-theme-loader)
[](https://david-dm.org/ruslankhh/tumblr-theme-loader)
[](https://travis-ci.com/ruslankhh/tumblr-theme-loader)
[](https://codecov.io/gh/ruslankhh/tumblr-theme-loader)
[](http://standardjs.com)
Tumblr theme loader for webpack. It uses [Tumblr Theme Parser](https://github.com/carrot/tumblr-theme-parser) for parsing.
## Install
```bash
npm i -D tumblr-theme-loader
```
## Usage
**webpack.config.js**
```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](https://github.com/carrot/tumblr-theme-parser#usage). |