# ejs-webpack-compile-loader

> ## ⬇️️ Installation

Latest version **1.0.1** (published 2018-10-25) · CC0 license · 0 weekly downloads

## Install

```sh
npm install ejs-webpack-compile-loader
pnpm add ejs-webpack-compile-loader
yarn add ejs-webpack-compile-loader
bun add ejs-webpack-compile-loader
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2018-10-25 |
| First published | 2018-10-25 |
| Weekly downloads | 0 |
| License | CC0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 7.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Joshua Schmitt |
| Maintainers | pixelsquared |
| Keywords | ejs, webpack, compile, async |

## Links

- npm: https://www.npmjs.com/package/ejs-webpack-compile-loader
- Repository: git@ssh.pixelcubed.com:joshua/ejs-webpack-compile-loader
- npm.io page: https://npm.io/package/ejs-webpack-compile-loader

## Dependencies (1)

- [loader-utils](https://npm.io/package/loader-utils.md) ^1.1.0

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2018-10-25
- 1.0.0 — 2018-10-25

## README

# EJS Weppack Compile Loader

## ⬇️️ Installation

`npm i -S ejs-webpack-compile-loader`

## 📋 Example

```javascript
const template = require("./file.ejs");
// => returns the template function compiled with ejs templating engine.
 
// And then use it somewhere in your code
await template(data) // Pass object with data
 
// Child Templates
// path is relative to where webpack is being run
<%- include templates/child -%>
```

## 🗎 Documentation

[Documentation: Using loaders](http://webpack.github.io/docs/using-loaders.html)

[EJS Options](https://github.com/mde/ejs#options)

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