Skip to content

Move babel and other command line dependencies to devDependencies #38

Open
@lewchuk

Description

@lewchuk

It looks like inclusion of babel-cli and the babel-preset-* packages in dependencies adds 45 MB (almost 50%) to the production dependencies of anyone including this library in their dependencies.

Currently:

> yarn install --production
> du -sh node_modules
145M	node_modules

After moving babel-* to devDependencies:

> yarn install --production
> du -sh node_modules
106M	node_modules

Moving the babel packages to dev-dependencies still lets anyone run the command line version of the code when only yarn install --production.

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