# @rushstack/loader-raw-script

> ## Installation

Latest version **1.6.27** (published 2026-09-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install @rushstack/loader-raw-script
pnpm add @rushstack/loader-raw-script
yarn add @rushstack/loader-raw-script
bun add @rushstack/loader-raw-script
```

## Health

**Score 55/100 (C)** — status: active.

Positive: no vulnerabilities; recently updated; high maintenance score.

Warnings: low downloads; no types; no esm support.

## Facts

| | |
|---|---|
| Version | 1.6.27 |
| Published | 2026-09-14 |
| First published | 2020-03-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6497 |
| Maintainers | rushstack-admin, odspnpm, octogonz, microsoft1es |

## Links

- npm: https://www.npmjs.com/package/@rushstack/loader-raw-script
- Repository: https://github.com/microsoft/rushstack
- Homepage: https://github.com/microsoft/rushstack#readme
- Issues: https://github.com/microsoft/rushstack/issues
- npm.io page: https://npm.io/package/@rushstack/loader-raw-script

## Recent versions

- 1.6.27 (latest) — 2026-09-14
- 1.5.10 (pr5496) — 2026-01-12
- 1.6.26 — 2026-09-09
- 1.6.25 — 2026-08-21
- 1.6.24 — 2026-08-20
- 1.6.23 — 2026-08-14
- 1.6.22 — 2026-07-21
- 1.6.21 — 2026-07-17
- 1.6.20 — 2026-07-16
- 1.6.19 — 2026-06-13
- 1.6.18 — 2026-06-08
- 1.6.17 — 2026-04-20
- 1.6.16 — 2026-04-20
- 1.6.15 — 2026-04-18
- 1.6.14 — 2026-04-18
- … 450 more at https://npm.io/package/@rushstack/loader-raw-script/versions

## 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](http://webpack.github.io/docs/using-loaders.html)

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

## Links

- [CHANGELOG.md](
  https://github.com/microsoft/rushstack/blob/main/webpack/loader-raw-script/CHANGELOG.md) - Find
  out what's new in the latest version

`@rushstack/loader-raw-script` is part of the [Rush Stack](https://rushstack.io/) family of projects.

---
_Source: https://npm.io/package/@rushstack/loader-raw-script · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
