Skip to content

Latest commit

 

History

History
 
 

loader-raw-script

@rushstack/loader-raw-script

Installation

npm install @rushstack/loader-raw-script --save-dev

Overview

This simple Webpack loader loads a script file's contents directly in a webpack bundle using an eval(...).

Usage

Documentation: Using loaders

require("@rushstack/loader-raw-script!path/to/script.js");

Links

@rushstack/loader-raw-script is part of the Rush Stack family of projects.