ampproject / ampproject/amp-sw

Separate chunks for each module

Open
#4 1 comment 0 reactions 0 assignees View on GitHub
good first issue
Dominant language
JavaScript
Stars
70
Forks
22
PR merge metrics
No merged PRs in 30d

Description

Right now we only have `core.js` and `optional.js` as our output files.
We'd like to rename `core.js` to `amp-sw.js` and split `optional.js` to a single js file per module.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the build entry points that produce core.js and optional.js, then identify how modules are grouped into the optional bundle. The work is done when core.js is emitted as amp-sw.js and optional modules are emitted as separate JavaScript files, with the generated output checked for correctness.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
build-system, web-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.