# @unocss/webpack

> The Webpack plugin for UnoCSS

Latest version **66.13.0** (published 2026-11-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install @unocss/webpack
pnpm add @unocss/webpack
yarn add @unocss/webpack
bun add @unocss/webpack
```

## Health

**Score 75/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score; popular repo.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 66.13.0 |
| Published | 2026-11-13 |
| First published | 2021-11-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 10 |
| Unpacked size | 44 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 18994 |
| Author | Anthony Fu <anthonyfu117@hotmail.com> |
| Maintainers | antfu, unocss-bot, zyyv |
| Keywords | unocss, webpack-plugin |

## Links

- npm: https://www.npmjs.com/package/@unocss/webpack
- Repository: https://github.com/unocss/unocss
- Homepage: https://unocss.dev
- Issues: https://github.com/unocss/unocss/issues
- Funding: https://github.com/sponsors/antfu
- npm.io page: https://npm.io/package/@unocss/webpack

## Dependencies (10)

- [pathe](https://npm.io/package/pathe.md) ^2.0.3
- [chokidar](https://npm.io/package/chokidar.md) ^5.0.0
- [unplugin](https://npm.io/package/unplugin.md) ^3.5.0
- [tinyglobby](https://npm.io/package/tinyglobby.md) ^0.2.17
- [@unocss/core](https://npm.io/package/@unocss/core.md) 66.13.0
- [magic-string](https://npm.io/package/magic-string.md) ^1.4.4
- [@unocss/config](https://npm.io/package/@unocss/config.md) 66.13.0
- [unplugin-utils](https://npm.io/package/unplugin-utils.md) ^0.3.2
- [webpack-sources](https://npm.io/package/webpack-sources.md) ^3.6.0
- [@jridgewell/remapping](https://npm.io/package/@jridgewell/remapping.md) ^2.3.5

## 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

- 66.13.0 (latest) — 2026-11-13
- 66.12.0 — 2026-10-26
- 66.12.0-beta.1 — 2026-10-26
- 66.11.0 — 2026-10-12
- 66.10.5 — 2026-09-16
- 66.10.4 — 2026-09-15
- 66.10.3 — 2026-09-15
- 66.10.2 — 2026-09-11
- 66.10.1 — 2026-09-09
- 66.10.0 — 2026-09-04
- 66.9.2 — 2026-09-02
- 66.9.1 — 2026-09-01
- 66.8.1 — 2026-08-21
- 66.8.0 — 2026-08-19
- 66.8.0-beta.1 — 2026-08-19
- … 407 more at https://npm.io/package/@unocss/webpack/versions

## README

# @unocss/webpack

The Webpack plugin for UnoCSS.

## Documentation

Please refer to the [documentation](https://unocss.dev/integrations/webpack).

## License

MIT License &copy; 2021-PRESENT [Anthony Fu](https://github.com/antfu)

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