Skip to content

split cli and core into different package #104

Description

@upupming

Currently, the bundled size of picgo core when bundling all of its dependencies with minification is 2MB, which is very large. I think the CLI part is the heaviest part, it uses many 3rd party libs. Also the CLI feature will not be possible on the web, so if we want to support picgo on web environment, we have to split cli and core into different packages.

Now we aslo have a @picgo/store repo, I think we can setup a monorepo and contains all packages to reduce our time for changing different projects. For example, a monorepo with:

  • @picgo/core
  • @picge/cli
  • @picgo/store
  • ...

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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions