Skip to content
This repository was archived by the owner on Feb 16, 2021. It is now read-only.
This repository was archived by the owner on Feb 16, 2021. It is now read-only.

[feature] Exclude sections from being mangled #14

@gwillz

Description

@gwillz

This could be using comments like:

/* @no-mangle */
.protected-rules-here {
  ...
}
.another-protected .rule {
  ...
}
/* @free-mangle */

And also import rules:

@import "draft-js"; /* @no-mangle */

The naming convention could be whatever. There's plenty of good examples, particularly in linters.

For me this is a nice-to-have at the moment, but could be a requirement for bigger projects. So I might submit a PR eventually.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions