# atomic-plugin

> Webpack plugin for compiling atomic css

Latest version **0.1.2** (published 2015-09-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install atomic-plugin
pnpm add atomic-plugin
yarn add atomic-plugin
bun add atomic-plugin
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.2 |
| Published | 2015-09-23 |
| First published | 2015-09-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Martin Drohmann |
| Maintainers | mdrohmann |
| Keywords | atomizer, atomic, css, plugin, webpack |

## Links

- npm: https://www.npmjs.com/package/atomic-plugin
- npm.io page: https://npm.io/package/atomic-plugin

## Dependencies (1)

- [atomizer](https://npm.io/package/atomizer.md) ^3.2.0

## Alternatives

- [style-dictionary](https://npm.io/package/style-dictionary.md) — 2.0M weekly downloads
- [postcss-merge-idents](https://npm.io/package/postcss-merge-idents.md) — 1.7M weekly downloads
- [@fontsource/noto-sans](https://npm.io/package/@fontsource/noto-sans.md) — 93.0K weekly downloads
- [uglifycss](https://npm.io/package/uglifycss.md) — 71.6K weekly downloads
- [mat4-interpolate](https://npm.io/package/mat4-interpolate.md) — 23.3K weekly downloads

## Recent versions

- 0.1.2 (latest) — 2015-09-23
- 0.1.1 — 2015-09-05
- 0.1.0 — 2015-09-05

## README

# atomic-plugin
Webpack Plugin for compiling atomic css

The code is mainly copied from [atomic-loader][atomic-loader].  Thank you Tom
Wu for your work.

I just believe that the solution as a Plugin is more suitable for a webpack
configuration, as the generated atomic stylesheet file can then be handled as a
webpack asset.  So, when you use, the webpack-dev-server, it gets served as
well.

## Install
```
$ npm install atomic-plugin --save
```

## Usage

Add the plugin to your webpack config:


  ```javascript
  plugins: [
        new AtomicPlugin('atomic.css', 'path/to/atomCssConfig.js'),
      ]
  ```


For more information on the atomizer, visit the webpage:
[yahoo/atomizer](https://github.com/yahoo/atomizer).

## TODO

- Figure out, how to inject a `[hash]` value into the atomic.css output.

[atomic-loader]: https://github.com/tom76kimo/atomic-loader

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