JSPM

@rushstack/loader-raw-script

1.4.108
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 20273
  • Score
    100M100P100Q159668F
  • License MIT

Package Exports

    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

    Documentation: Using loaders

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

    @rushstack/loader-raw-script is part of the Rush Stack family of projects.