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

Unnecesary code #127

@pabloalmunia

Description

@pabloalmunia

When we define de plugin with this configuration:

new ClosurePlugin ({mode : 'AGGRESSIVE_BUNDLE'},
                         {languageOut : 'ECMASCRIPT_2018'})

this unnecesary code is included on top of compiled source:

(function(__wpcc){'use strict';var a;"undefined"===typeof a&&(a=function(){});a.p="";}).call(this || window, (window.__wpcc = window.__wpcc || {}));

When the polifills aren't necesary, this code can be removed.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions