dojo / dojo/webpack-contrib

Import of main chunk from bootstrap should be lazily evaluated

Open
#181 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4
Forks
16
PR merge metrics
No merged PRs in 30d

Description

**Enhancement**
At the moment the main.js chunk is imported lazily from the bootstrap entry but is executed immediately. If we want to preload this up front in the future we need to make this lazily executed.

Contributor guide

Open the contributing guide

Research direction

Start by locating the bootstrap entry and the lazy import of the main.js chunk. Trace when that import executes, then use the existing tests or build checks to verify that preloading the chunk does not execute it until it is explicitly requested.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
build-system
Issue type
Feature
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.