Skip to content

[Feature Request]: Make #region code folding configurable rather than enforced #4668

@alpheusmtx

Description

@alpheusmtx

What problem does this feature solve?

Allowed the output to come without #region and #endregion code folding feature.

What does the proposed API look like?

Based on ace105c, add options to enable and disable the feature rahter than enforced.

import { defineConfig } from "rolldown";

export default defineConfig({
    output: {
        regions: false,
    },
});

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions