# aem-clientlib-generator-webpack-plugin

> Webpack plugin for generating AEM Client Libraries

Latest version **1.0.0** (published 2020-02-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install aem-clientlib-generator-webpack-plugin
pnpm add aem-clientlib-generator-webpack-plugin
yarn add aem-clientlib-generator-webpack-plugin
bun add aem-clientlib-generator-webpack-plugin
```

## 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 |
| Published | 2020-02-11 |
| First published | 2020-02-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 4.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Jakub Lamprecht |
| Maintainers | jakub.lamprecht |
| Keywords | aem, clientlib, clientlibs, generator, webpack, plugin |

## Links

- npm: https://www.npmjs.com/package/aem-clientlib-generator-webpack-plugin
- Repository: https://github.com/Cognifide/aem-clientlib-generator-webpack-plugin
- Homepage: https://github.com/Cognifide/aem-clientlib-generator-webpack-plugin#readme
- Issues: https://github.com/Cognifide/aem-clientlib-generator-webpack-plugin/issues
- npm.io page: https://npm.io/package/aem-clientlib-generator-webpack-plugin

## Dependencies (2)

- [chalk](https://npm.io/package/chalk.md) ^3.0.0
- [aem-clientlib-generator](https://npm.io/package/aem-clientlib-generator.md) ^1.5.0

## 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.0.0 (latest) — 2020-02-11

## README

# AEM ClientLib Generator Webpack Plugin

---

## Description

Plugin which integrates [aem-clientlib-generator](https://github.com/wcm-io-frontend/aem-clientlib-generator) into your webpack setup.

[Aem-clientlib-generator](https://github.com/wcm-io-frontend/aem-clientlib-generator) makes it possible to work in a single source code directory with a single frontend setup to create multiple AEM Client Libraries.
Using configuration file you can control any property of Client Libraries (*dependencies, embeds* etc).

## Installation

Use npm:

```
npm install aem-clientlib-generator-webpack-plugin
```

or yarn:

```
yarn add aem-clientlib-generator-webpack-plugin
```

## Usage

Import the plugin in your webpack configuration file:

```
const AemClientlibGeneratorPlugin = require('aem-clientlib-generator-webpack-plugin');
```

And use within `plugins` property of the webpack configuration:

```
...
plugins: [
    ...,
    new AemClientlibGeneratorPlugin(),
],
...
```

AemClientlibGeneratorPlugin takes the same options as [aem-clientlib-generator](https://github.com/wcm-io-frontend/aem-clientlib-generator) library,
please refer to it's documentation.

If no options are provided within webpack configuration, plugin will look for a `clientlib.config.js` file.

---
_Source: https://npm.io/package/aem-clientlib-generator-webpack-plugin · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
