npm install @rushstack/loader-raw-script --save-dev
This simple loader loads a script file's contents directly in a webpack bundle using an eval(...).
require("@rushstack/loader-raw-script!path/to/script.js");npm install @rushstack/loader-raw-script --save-dev
This simple loader loads a script file's contents directly in a webpack bundle using an eval(...).
require("@rushstack/loader-raw-script!path/to/script.js");