`npm install @rushstack/loader-raw-script --save-dev`
npm install @rushstack/loader-raw-scriptnpm install @rushstack/loader-raw-script --save-dev
This simple Webpack loader loads a script file's contents directly in a webpack bundle using an eval(...).
`` javascript`
require("@rushstack/loader-raw-script!path/to/script.js");
- CHANGELOG.md - Find
out what's new in the latest version
@rushstack/loader-raw-script` is part of the Rush Stack family of projects.