Skip to content

Replace rollup-plugin-cleanup module #36

@kptdobe

Description

@kptdobe

To shape a proper aem.js (formatting, comments cleanup...), we use rollup-plugin-cleanup plugin for rollup, but this module has not been touched for 4 years now and starts creating dependencies issues (depends on old rollup-pluginutils).
We should find another solution.

The plugin is used for: (see config https://github.com/adobe/aem-lib/blob/main/rollup.config.js#L49-L52)

  • make sure aem.js passes the aem-boilerplate linting rules (including: keep eslint instructions, remove // comments, line breaks, indentation)
  • do not duplicate license comments (only one license at the beginning of the concatenated file)
  • get rid of c8 comments

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions