This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

semiraw-loader

0.5.2 • Public • Published

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)

/semiraw-loader/

    Package Sidebar

    Install

    npm i semiraw-loader

    Weekly Downloads

    1

    Version

    0.5.2

    License

    none

    Last publish

    Collaborators

    • jeremyosborne