0.5.2 • Published 9 years ago

semiraw-loader v0.5.2

Weekly downloads
3
License
-
Repository
github
Last release
9 years ago

semiraw-loader for webpack

Same as webpack/raw-loader but terminates the generated module exports statement with a semicolon. Mainly for anyone (like me) who still lints for them, and doesn't want to change the linter config.

Other than that, it's the same as the raw-loader.

Installation

npm install semiraw-loader

Usage

var fileContent = require("semiraw!./file.txt");
// => returns file.txt content as string

Documentation: Using loaders

License

MIT (http://www.opensource.org/licenses/mit-license.php)