npm 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(...)
.
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.