leecade / leecade/fe

Reduce the size of install pkg

Open
#13 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
15
Forks
4
PR merge metrics
No merged PRs in 30d

Description

The idea is use webpack pack each command js and their deps in single file, then remove deps relation in package.json avoid auto install again.

some modules (which require node-gyp) as externals will build after install.

some config file(which load async) compile as standalone file.

remove .md in node_modules.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting package.json and the command JavaScript files, then trace how webpack and the async-loaded config files are currently handled. Define the packaging flow for bundled commands, node-gyp modules kept external, standalone config files, and removed Markdown files in node_modules. Done means the install package is smaller and no longer auto-installs bundled dependencies.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js, webpack
Domain
build-system, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.