JSPM

@rushstack/loader-raw-script

1.3.13
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 20386
  • Score
    100M100P100Q156481F
  • License MIT

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

Documentation: Using loaders

require("@rushstack/loader-raw-script!path/to/script.js");

License

MIT (http://www.opensource.org/licenses/mit-license.php)