JSPM

@microsoft/loader-raw-script

1.2.33
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 750
    • Score
      100M100P100Q111930F
    • License MIT

    Package Exports

    • @microsoft/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 (@microsoft/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 @microsoft/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("@microsoft/loader-raw-script!path/to/script.js");

    License

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