jantimon / jantimon/html-webpack-plugin
Reduce the usage of lodash
- Dominant language
- JavaScript
- Stars
- 10.7k
- Forks
- 1.3k
- Avg merge
- 1m
- Merged PRs (30d)
- 1
Description
`html-webpack-plugin` supports Node.js 10.13.0 and above which has full ES2018 support. We should prefer the ECMAScript built-in features (i.e. replace `lodash/uniq` w/ `Set`, replace `lodash/extend` w/ `Object.assign`). And instead of requiring a full `lodash` package, we can just use `lodash.template` to support the template.
Contributor guide
No contributing guide indexed for this repository
Research direction
No file or test is named. Start by locating the plugin's lodash imports and dependency declaration, then review the Node.js 10.13.0+ compatibility mentioned in the issue. Done means replacing the specified lodash utilities with ECMAScript built-ins while retaining only lodash.template support.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, webpack
- Domain
- build-system
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100