Package Exports
- @rushstack/loader-raw-script
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@rushstack/loader-raw-script) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
raw-script loader for webpack
Installation
npm install @rushstack/loader-raw-script --save-dev
Overview
This simple loader loads a script file's contents directly in a webpack bundle using an eval(...).
Usage
require("@rushstack/loader-raw-script!path/to/script.js");