# metal-soy-loader

> Webpack loader that compiles soy templates using metal-tools-soy

Latest version **1.0.0-alpha.4** (published 2017-11-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install metal-soy-loader
pnpm add metal-soy-loader
yarn add metal-soy-loader
bun add metal-soy-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.0-alpha.4 |
| Published | 2017-11-20 |
| First published | 2017-09-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Pablo Molina |
| Maintainers | rframpton |

## Links

- npm: https://www.npmjs.com/package/metal-soy-loader
- npm.io page: https://npm.io/package/metal-soy-loader

## Dependencies (5)

- [md5](https://npm.io/package/md5.md) ^2.2.1
- [vinyl-fs](https://npm.io/package/vinyl-fs.md) ^2.4.4
- [loader-utils](https://npm.io/package/loader-utils.md) ^1.1.0
- [metal-events](https://npm.io/package/metal-events.md) ^2.13.2
- [metal-tools-soy](https://npm.io/package/metal-tools-soy.md) ^4.2.8

## Recent versions

- 1.0.0-alpha.4 (latest) — 2017-11-20
- 1.0.0-alpha.3 — 2017-10-02
- 1.0.0-alpha.2 — 2017-09-26
- 1.0.0-alpha.1 — 2017-09-26
- 1.0.0-alpha.0 — 2017-09-26

## README

# metal-soy-loader

Webpack loader that compiles soy templates using [metal-tools-soy](//github.com/metal/metal-tools-soy)

## Usage

Check https://webpack.js.org/concepts/loaders/ for documentation on implementing
loaders.

```js
// Webpack config
module.exports = {
  module: {
    rules: [
      {
        test: /\.soy$/,
        loader: 'metal-soy-loader'
      }
    ]
  }
}
```

`metal-soy-loader` produces JavaScript code, exporting all found templates, so
you can add more loaders like `babel-loader` to process the output.

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