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");| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
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");