@webpack-loader/raw
Raw Loader
Last updated 4 years ago by michael-ciniawsky .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @webpack-loader/raw 
SYNC missed versions from official npm registry.

npm node deps test coverage code style chat

Raw Loader

Import files/contents as a raw {String}

Install

npm i -D @webpack-loader/raw

Usage

webpack.config.js

module.exports = {
  module: {
    rules: [
      {
        test: /\.txt$/,
        use: '@webpack-loader/raw'
      }
    ]
  }
}
import txt from './file.txt'

Current Tags

  • 1.0.0-alpha.0                                ...           latest (4 years ago)

1 Versions

  • 1.0.0-alpha.0                                ...           4 years ago
Maintainers (1)
Downloads
Total 55
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 2
Last Month 0
Dependencies (0)
None
Dev Dependencies (7)
Dependents (0)
None

Copyright 2014 - 2021 © npmmirror.com |