forceraw-loader

0.1.0 • Public • Published

forceraw-loader

This is a webpack loader that will load files as strings without them being preprocessed by webpack beforehand, as is.

require('forceraw?path=filename!.')
# or
import content from 'forceraw?path=filename!.'

It also supports globbing and will import multiple files as an object:

import files from 'forceraw=files/**!.'

Readme

Keywords

Package Sidebar

Install

npm i forceraw-loader

Weekly Downloads

1

Version

0.1.0

License

Apache-2.0

Last publish

Collaborators

  • yrashk