Closed
Bug 1138692
Opened 11 years ago
Closed 11 years ago
Split marketplace-elements into individually-importable modules
Categories
(Marketplace Graveyard :: Code Quality, defect, P3)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: chuck, Unassigned)
References
Details
To help keep build sizes down, it'd be nice to reduce the amount of JS/CSS we need to use some of our various elements. I propose splitting each into a namespaced modules that can be individually imported, e.g:
marketplace-elements
|-src
|- mkt-segmented
|- index.styl
|- mkt-segmented.js
|- mkt-button
|- index.styl
|- mkt-button.js
In JavaScript, we can then:
require(['elements/mkt-segmented'], function(segmented))
And in Stylus:
@import('mkt-segmented');
| Reporter | ||
Updated•11 years ago
|
Summary: Split marketplace-elements into individually-importable → Split marketplace-elements into individually-importable modules
| Reporter | ||
Comment 1•11 years ago
|
||
Additional work on the style guide has been shelved.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•