# riottag-loader

> A webpack loader for Riot.js that compiles tags

Latest version **0.0.2** (published 2016-11-29) · MIT license · 0 weekly downloads

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

## Install

```sh
npm install riottag-loader
pnpm add riottag-loader
yarn add riottag-loader
bun add riottag-loader
```

## Health

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

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2016-11-29 |
| First published | 2016-11-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 2 |
| Author | tokyoincode |
| Maintainers | tokyoincode |
| Keywords | webpack, loader, riot, riotjs, tag, compile |

## Links

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

## Dependencies (2)

- [loader-utils](https://npm.io/package/loader-utils.md) ^0.2.16
- [riot-compiler](https://npm.io/package/riot-compiler.md) ^3.0.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

- 0.0.2 (latest) — 2016-11-29
- 0.0.1 — 2016-11-29

## README

# riottag-loader
A webpack loader for Riot.js that gathers and compiles tags.

## Notice
This package is under development, I would be wary of using it in production!

If you run into issues, feel free to open an issue or pull request.

Thanks in advance!

## Installation
You can install this loader via NPM or Yarn

```
npm install riottag-loader

```

## Usage

Head into your `webpack.config.js` file and add the following to the `loaders` array:

```
module: {
  loaders: [
    {
      test: /\.tag$/,
      exclude: /node_modules/,
      loader: 'riottag-loader',
    },
  ],
}
```

**NOTE:** Webpack recommends that you load the `riottag-loader` before loading Babel. Non-Javascript transformations should be loaded first. To learn more, click [here](https://webpack.github.io/docs/loaders.html#cacheable).

## Credit
Credit goes to [@esnunes](https://github.com/esnunes/) for writing the first riot loader.

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