Update the New Tab build docs now that the build generates the bundles in the objdir
Categories
(Firefox :: New Tab Page, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox161 | --- | fixed |
People
(Reporter: dao, Assigned: dao)
References
(Blocks 1 open bug)
Details
Attachments
(1 external file)
Since bug 2025793 and bug 2062117, ./mach build and ./mach build faster generate css/ and data/content/*.bundle.js in the objdir. ./mach newtab bundle and ./mach newtab watch still write them into the source tree (npm run bundle sets no outputPath), where they are untracked. addon-jar.mn resolves ./css/activity-stream.css and the bundles against the source tree before the objdir, so a leftover copy wins and New Tab runs it however stale, while every build looks clean.
The docs still describe the old layout: docs/index.md recommends ./mach newtab bundle && ./mach build, and AGENTS.md says the bundle is copied to browser/components/newtab/.
They should say where each command writes, that source-tree copies shadow the build output, and how to clear them: delete them, then touch browser/extensions/newtab/addon-jar.mn && ./mach build faster.
| Assignee | ||
Updated•29 days ago
|
| Assignee | ||
Comment 1•28 days ago
|
||
Updated•28 days ago
|
Comment 3•28 days ago
|
||
| bugherder | ||
Updated•11 days ago
|
Description
•