Skip to content

Files

Latest commit

e20f9a1 · Apr 9, 2022

History

History
25 lines (15 loc) · 666 Bytes
·

README.md

File metadata and controls

25 lines (15 loc) · 666 Bytes
·

@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");

Links

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