# @ampersandhq/postcss

> Shared configuration for Ampersand HQ projects using Postcss.

Latest version **0.1.0** (published 2022-01-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install @ampersandhq/postcss
pnpm add @ampersandhq/postcss
yarn add @ampersandhq/postcss
bun add @ampersandhq/postcss
```

## 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.0 |
| Published | 2022-01-27 |
| First published | 2021-07-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Unpacked size | 1.9 KB |
| Known vulnerabilities | 0 (+5 in 1 direct dependencies) |
| Install scripts | no |
| Author | Evan Burrell |
| Maintainers | alinaampersand, mattredgate, rafalmodzelewski, angelinadashchynskaya, lyndsamp, sonnybooth-amp, lissiecoxwork, yaseen.ampersand, ampersandkieran, brettcooper, nrauni, amphq_deploy, cvdberg1, peekarboo, jonnymarsamp, qrz-io, convenient, tr33m4n, liam.toohey, ahasamp, aliyaaussie, awanyoike, omotolas |

## Links

- npm: https://www.npmjs.com/package/@ampersandhq/postcss
- npm.io page: https://npm.io/package/@ampersandhq/postcss

## Dependencies (5)

- [postcss](https://npm.io/package/postcss.md) 7.0.39
- [postcss-nested](https://npm.io/package/postcss-nested.md) 5.0.5
- [postcss-pxtorem](https://npm.io/package/postcss-pxtorem.md) 5.1.1
- [postcss-scrollbar](https://npm.io/package/postcss-scrollbar.md) 0.3.0
- [postcss-preset-env](https://npm.io/package/postcss-preset-env.md) 6.7.0

## Recent versions

- 0.1.0 (latest) — 2022-01-27
- 0.0.1-alpha.0 (canary) — 2021-07-29
- 0.0.1 — 2021-07-29

## README

# @ampersandhq/postcss

Shared configuration for Ampersand HQ projects using Postcss.

### Installation

```shell
yarn add -D @ampersandhq/postcss postcss
```

### PWA Studio Specific Configuration

Install `postcss-loader` for appropriate version of webpack

Webpack 4

```
yarn add -D postcss-loader@^4
```

Webpack 5 (if available)

```
yarn add -D postcss-loader
```

In an interceptor file, configure PostCSS

```js
compiler.options.module.rules
    .find(rule => rule.test.toString() === '/\\.css$/')
    .oneOf[0].use.push('postcss-loader');
```

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