simov / simov/slugify

Move char map to a separate file to improve package size

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

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.7k
Forks
142
PR merge metrics
No merged PRs in 30d

Description

Having the char map on a separate file could help reducing bundle sizes for users that aren't making use of the standard char map. By using a bundler like webpack it's possible to skip bundling the to-be-created standard char-map file.

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

No files or tests are named. Start by locating the char map and the package entry point, then inspect the bundler or package configuration to understand how consumers import it. Done means the standard char map is separate and can be excluded from bundles when unused; run the existing test suite to check behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
build-system, tooling
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.