2 comments (2 comments)0 reactions (0 reactions)0 assignees (0 assignees)JavaScript2,288 forks (2,288 forks)batch import
help wanted
Repository metrics
- Stars
- 14,656 stars (14,656 stars)
- PR merge metrics
- No merged PRs in 30d (No merged PRs in 30d)
Description
http://localhost:3000/keystone/js/index.js is not minified.
$ NODE_ENV=production node server.js
$ curl http://localhost:3000/keystone/js/index.js | wc -c
1312064 (1.3M)
$ curl http://localhost:3000/keystone/js/index.js | uglify -cm | wc
472863 (473K)
Contributor guide
- Research direction
- Investigate the build configuration (e.g., webpack or UglifyJSPlugin) to ensure minification is enabled when NODE ENV=production. Trace the code path from server.js to the admin JS bundle to identify where minification should occur.
- Tech stack
- javascriptnodejs
- Domain
- backend
- Issue type
- Bug
- Prerequisites
- GitNode.js