Oxc iconAnnouncing Type-Aware Linting Alpha
Skip to content
OxcOxc
Main Navigation GuideLearnContributePlayground
Release Blog
Endorsements
Team
Releases
Website GitHub
Sponsor

Appearance

Sidebar Navigation

Introduction

What is Oxc?

Getting Started

Oxlint

Overview

Configure and integrate

Quickstart

Configuration

Editor setup

CI & other setup

Nested configs

Features

Built-in plugins

Automatic fixes

Ignore files

Inline ignore comments

Multi-file analysis

Type-aware linting

JS plugins

Migration

From ESLint

Reference

Rules reference

CLI reference

Config file reference

Versioning

Oxfmt

Overview

Configure and integrate

Configuration

Editor setup

Features

Ignore files

Inline ignore comments

Migration

Migrate from Prettier

Reference

CLI reference

Configuration file reference

Parser

Overview

Transformer

Overview

Lowering

TypeScript

JSX

Plugins

Global Variable Replacement

Isolated Declarations

Minifier

Overview

Dead Code Elimination

Syntax Normalization

Mangling

Whitespace Stripping

FAQ

Resolver

Overview

Resources

Troubleshooting

Benchmarks

Projects using Oxc

Talks & media

On this page
Are you an LLM? You can read better optimized documentation at /docs/guide/usage/minifier/whitespace-stripping.md for this page in Markdown format

Whitespace Stripping ​

Oxc minifier supports removing whitespace and comments.

This feature is enabled by default and can be disabled by setting the codegen.removeWhitespace option to false.

Suggest changes to this page
Pager
Previous pageMangling
Next pageFAQ

© 2026 VoidZero Inc. and Oxc contributors.