srt-loader
v0.0.2
Published
A webpack loader for .srt files
Downloads
6
Readme
srt (SubRip subtitle format) loader for webpack
Usage
Relies on:
Simple API
require("raw!srt!./file.srt");
Recommended configuration
The recommended configuration for webpack is:
{
module: {
loaders: [
{ test: /\.srt$/, loader: 'raw-loader!srt-loader' },
]
}
}
Install
npm install srt-loader
License
MIT (http://www.opensource.org/licenses/mit-license.php)