# @tailwindcss-mangle/config

> The config and load function of tailwindcss-mangle

Latest version **8.0.1** (published 2026-07-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install @tailwindcss-mangle/config
pnpm add @tailwindcss-mangle/config
yarn add @tailwindcss-mangle/config
bun add @tailwindcss-mangle/config
```

## Health

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

Positive: has types; esm support; no vulnerabilities; has provenance; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 8.0.1 |
| Published | 2026-07-17 |
| First published | 2023-08-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=22.18.0 |
| Dependencies | 5 |
| Unpacked size | 8.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 214 |
| Author | ice breaker <1324318532@qq.com> |
| Maintainers | icebreaker |
| Keywords | tailwindcss, mangle, patch, core, mangle, shared, utils |

## Links

- npm: https://www.npmjs.com/package/@tailwindcss-mangle/config
- Repository: https://github.com/sonofmagic/tailwindcss-mangle
- Homepage: https://mangle.icebreaker.top/
- Issues: https://github.com/sonofmagic/tailwindcss-mangle/issues
- npm.io page: https://npm.io/package/@tailwindcss-mangle/config

## Dependencies (5)

- [c12](https://npm.io/package/c12.md) ^3.3.3
- [pathe](https://npm.io/package/pathe.md) ^2.0.3
- [fs-extra](https://npm.io/package/fs-extra.md) ^11.3.6
- [is-css-request](https://npm.io/package/is-css-request.md) ^1.0.1
- [@tailwindcss-mangle/shared](https://npm.io/package/@tailwindcss-mangle/shared.md) ^5.0.1

## Alternatives

- [@sveltejs/kit](https://npm.io/package/@sveltejs/kit.md) — 2.2M weekly downloads
- [@atlaskit/theme](https://npm.io/package/@atlaskit/theme.md) — 402.0K weekly downloads
- [@tangle-network/brand](https://npm.io/package/@tangle-network/brand.md) — 10.0K weekly downloads
- [seneca](https://npm.io/package/seneca.md) — 7.4K weekly downloads
- [@bsb/base](https://npm.io/package/@bsb/base.md) — 7.2K weekly downloads

## Recent versions

- 8.0.1 (latest) — 2026-07-17
- 7.0.0-alpha.2 (alpha) — 2026-03-14
- 8.0.0 — 2026-06-30
- 7.0.2 — 2026-05-10
- 7.0.1 — 2026-05-03
- 7.0.0 — 2026-03-22
- 7.0.0-alpha.1 — 2026-03-14
- 6.1.4-alpha.0 — 2026-03-14
- 6.1.3 — 2026-02-24
- 6.1.2 — 2026-02-23
- 6.1.1 — 2026-02-15
- 6.1.0 — 2025-11-06
- 6.0.1 — 2025-10-27
- 6.0.0 — 2025-10-25
- 5.1.2 — 2025-09-29
- … 21 more at https://npm.io/package/@tailwindcss-mangle/config/versions

## README

# tailwindcss-mangle

![star](https://badgen.net/github/stars/sonofmagic/tailwindcss-mangle)
![dm0](https://badgen.net/npm/dm/@tailwindcss-mangle/core)
![dm1](https://badgen.net/npm/dm/@tailwindcss-mangle/shared)
![dm2](https://badgen.net/npm/dm/tailwindcss-patch)
![dm3](https://badgen.net/npm/dm/unplugin-tailwindcss-mangle)
[![test](https://github.com/sonofmagic/tailwindcss-mangle/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/sonofmagic/tailwindcss-mangle/actions/workflows/ci.yml)
[![codecov](https://codecov.io/gh/sonofmagic/tailwindcss-mangle/branch/main/graph/badge.svg?token=jPyNihT78U)](https://codecov.io/gh/sonofmagic/tailwindcss-mangle)

A util for mangle tailwindcss

- [tailwindcss-mangle](#tailwindcss-mangle)
  - [tailwindcss-patch](#tailwindcss-patch)
  - [unplugin-tailwindcss-mangle](#unplugin-tailwindcss-mangle)
  - [Contributing](#contributing)

## tailwindcss-patch

`tailwindcss-patch` is a util to patch tailwindcss code and get its context at runtime.

Click [tailwindcss-patch](./packages/tailwindcss-patch) for more details.

## unplugin-tailwindcss-mangle

> It is recommended to read the documentation of [tailwindcss-patch](https://github.com/sonofmagic/tailwindcss-mangle/tree/main/packages/tailwindcss-patch) first, `unplugin-tailwindcss-mangle` depends on this tool.

`unplugin-tailwindcss-mangle` is a plugin for `webpack` and `vite` to **obfuscate** tailwindcss class.

You can enter [unplugin-tailwindcss-mangle](./packages/unplugin-tailwindcss-mangle) for usage and more details.

### NextJs

For users trying version `2.3.0` of `unplugin-tailwindcss-mangle`, it has been tested and confirmed to work in versions `14~15`. However, be aware that this package is no longer maintained, as the project is focused on `vitejs`.

## Contributing

Use Node.js 22.22.1 or newer, pnpm 12.8.1, and Rust 1.95.0. `rust-toolchain.toml` pins the compiler used by the native kernels. Published npm packages include prebuilt kernels; application users do not need a Rust compiler. The workspace uses [repoctl](https://github.com/icelib/repoctl) for shared tooling and release management.

```sh
pnpm install
rustup show active-toolchain
pnpm build
pnpm lint
pnpm lint:style
pnpm typecheck
pnpm test:types
pnpm test
pnpm build:docs
```

Install Chromium with `pnpm exec playwright install chromium` before running `pnpm test:e2e:all`. On Linux, install browser system dependencies with `pnpm exec playwright install-deps chromium`. These suites cover framework builds, browser output, and HMR. Tailwind CSS 2/3/4 fixtures and the engine's Node 18 runtime compatibility are maintained independently of the development toolchain.

Dependency upgrades retain these compatibility constraints:

- TypeScript stays on 6.0.3 until repoctl, typescript-eslint, and Svelte's checker support TypeScript 7.
- The Remix 2 example keeps React 18, TypeScript 5, ESLint 8, and Vite 6. The NextUI example keeps the final compatible releases under the original package names.
- Tailwind 2/PostCSS 7 and Tailwind 3 use separate catalogs and aliases. Historical version fixtures are intentionally fixed; they must not be included in bulk upgrades.
- Version-specific overrides in `pnpm-workspace.yaml` align upstream peer dependency families. Recheck them with `pnpm peers check` when upgrading their parent packages.

For a publishable package change, run `pnpm change` to add a change intent and `pnpm release:plan` to inspect the release plan. The managed release workflow prepares Release PRs and publishes their merged versions. See the [release policy](./docs/release/release-group-policy.md) for validation and prerelease commands.

See [the Rust architecture](docs/rust-architecture.md) for native boundaries, ABI compatibility, distribution, and performance measurement.

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