Closed
Bug 960769
Opened 12 years ago
Closed 7 years ago
[build] webapp-zip.js should not include building block .html files
Categories
(Firefox OS Graveyard :: Gaia, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: jrburke, Unassigned)
Details
Attachments
(1 file)
build/webapp-zip.js avoids copying any top level .html files in the copyBuildingBlock() function, but it looks like there are nested .html files now in shared/style and shared/style_unstable subcomponents that are included. These just seem to be demo files to show how each subcomponent looks.
By not including them for email, I was able to save about 45KB in the application.zip size. Each gaia app likely has these files in them, so the savings is likely compounded by the number of apps including the building blocks.
I have a branch with the change, will attach a pull request once this bug gets and ID.
Reporter | ||
Comment 1•12 years ago
|
||
Removes any .html file in a building block subcomponent.
Asking :basiclines for review, given experience with build and building blocks, to make sure the .html files are used for something I did not see.
Attachment #8361340 -
Flags: review?(igonzaleznicolas)
Comment on attachment 8361340 [details] [review]
GitHub pull request
James, I'll take this one as Ismael is no longer in the project. Peers list should be updated soon :)
Attachment #8361340 -
Flags: review?(igonzaleznicolas) → review?(arnau)
wow, that's an old PR.
James, you want to update your PR?
We are also trying to split css files, so we don't have to import unused stuff like themes.
(bug 1000132)
Comment on attachment 8361340 [details] [review]
GitHub pull request
Clearing this. Please use r? again in case you want to retake this bug.
Thanks James.
Attachment #8361340 -
Flags: review?(arnau)
Comment 5•7 years ago
|
||
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•