Skip to content

minify optimize #105

Description

@fishbar

the minify output modules:

Cube(n,[],function(m){.......;return m.exports});

this structure can be replaced into:

Cube(n,[],function(m){.......;});

Cube.js pass module object into module's fn,so there is no need to return module.exports at the end of the module file.

even more, shutcut the Cube into C

C(n,[],function(m){.......;});

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions