Skip to content

reactuate/forceraw-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/**!.'

About

Webpack loader that loads files as strings without any pre-processing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published