# uh-erb-loader

> Embedded Ruby (erb) loader for Webpack

Latest version **1.1.1** (published 2016-11-07) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install uh-erb-loader
pnpm add uh-erb-loader
yarn add uh-erb-loader
bun add uh-erb-loader
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.1.1 |
| Published | 2016-11-07 |
| First published | 2016-05-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 105 |
| Author | UsabilityHub |
| Maintainers | rhys-vdw, usability-hub |
| Keywords | erb, loader, webpack, ruby, rails |

## Links

- npm: https://www.npmjs.com/package/uh-erb-loader
- Repository: https://github.com/usabilityhub/erb-loader
- Homepage: https://github.com/usabilityhub/erb-loader#readme
- Issues: https://github.com/usabilityhub/erb-loader/issues
- npm.io page: https://npm.io/package/uh-erb-loader

## Dependencies (1)

- [node-uuid](https://npm.io/package/node-uuid.md) ^1.4.7

## Alternatives

- [raw-loader](https://npm.io/package/raw-loader.md) — 4.3M weekly downloads
- [plop](https://npm.io/package/plop.md) — 1.4M weekly downloads
- [webpack-deadcode-plugin](https://npm.io/package/webpack-deadcode-plugin.md) — 80.3K weekly downloads
- [@storybook/preact-vite](https://npm.io/package/@storybook/preact-vite.md) — 54.2K weekly downloads
- [vite-plugin-transform](https://npm.io/package/vite-plugin-transform.md) — 2.4K weekly downloads

## Recent versions

- 1.1.1 (latest) — 2016-11-07
- 1.1.0 — 2016-05-26
- 1.0.0 — 2016-05-05

## README

# ERB loader

**PROJECT RENAMED: Please use [`rails-erb-loader`](https://www.npmjs.com/package/rails-erb-loader) instead**

Simple `.erb` loader for use with Webpack in a Ruby on Rails project. Files are piped through the `ERB` via a `rails runner` call on commandline (see source for more info).

## Installation

Install from npm

```bash
$ npm install uh-erb-loader --save-dev
```

## Example Webpack config

```js
// webpack.config.js

module.exports = {
  preLoaders: [
    { test: /\.erb$/, loader: 'uh-erb-loader' },
  ]
};
```

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