kriasoft / kriasoft/aspnet-starter-kit
main.js is 511kb before I start building the app?
- Dominant language
- JavaScript
- Stars
- 1.2k
- Forks
- 198
- PR merge metrics
- No merged PRs in 30d
Description
I am new to react, I don't mean this as criticism of this project, but is it considered normal to start with a bundle > 500kb before you even really begin building a react app?
when I do npm run build I see the output main.js is 511kb and even the cli shows it in yellow [big] as a warning, and that is minified. If I do node run the file is 1.68 MB unminified.
it seems big for boilerplate code that is just a starting point for building an app, is this considered normal in the react world?
Contributor guide
Research direction
Start by running npm run build and inspecting the generated main.js size, comparing the minified 511 KB output with the unminified 1.68 MB file. The issue is done only when the project can explain whether this baseline bundle size is expected or defines a specific, agreed-upon reduction target.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- build-system, frontend
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100