Skip to content

Files

Latest commit

1bd989e · Mar 12, 2025

History

History

loader-raw-script

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Sep 19, 2023
Feb 14, 2022
Sep 26, 2023
Jul 26, 2024
Mar 12, 2025
Mar 12, 2025
Feb 18, 2024
Apr 9, 2022
Mar 12, 2025
Sep 19, 2023

@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.