Skip to content

Provide option to annotate only whitelisted identifiers #9

@Andarist

Description

@Andarist

Note - the option should be able to handle renamed imports like this:

{ whitelist: [ 'taggedTemplateLiteral', { identifier: 'css' , source: 'emotion'  } ] }

So even if css gets some other local specifier (i.e. createCss), the plugin should be able to annotate createCss.

This would help people with annotating their bundles more safely.

Note that for the applications it might still be better to just use pure_funcs of the UglifyJS.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions