file-to-string-loader
0.0.0 • Public • Published
Webpack loader that converts file contents to string and exports
{ test: /\.html/, loader: 'file-to-string-loader' }
var content = require('./foo.html')
The contents of foo.html
will be exported as a string, therefore making content
a string.
Versions
Version | Downloads (Last 7 Days) | Tag |
---|
0.0.0 | 11 | latest |
Version History
Version | Downloads (Last 7 Days) | Published |
---|
0.0.0 | 11 | |
Package Sidebar
Install
npm i file-to-string-loader
Weekly Downloads