Skip to content

Files

Latest commit

57df618 · Aug 21, 2024

History

History
This branch is 3 commits ahead of, 370 commits behind microsoft/rushstack:main.

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
Aug 21, 2024
Aug 21, 2024
Feb 18, 2024
Apr 9, 2022
Aug 21, 2024
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.