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
@rushstack/loader-raw-script
Installation
npm install @rushstack/loader-raw-script --save-dev
Overview
This simple Webpack 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");Links
- CHANGELOG.md - Find out what's new in the latest version
@rushstack/loader-raw-script is part of the Rush Stack family of projects.