Erik Bryn
Erik Bryn
Hey @tbck, I'm aware of this and have some code in the https://github.com/ebryn/ember-component-css/tree/class-for-helper branch to do this.
@dfreeman would love some help to drive this to completion. i've just been very busy doing training since EmberConf. I can provide more specifics if you're serious about helping! :)
@dfreeman shoot me an IM: [email protected]
@tonycoco That is a planned mode
@dfreeman @trentmwillis can one of you rebase / cleanup / add basic tests for the `class-for-helper` branch? :heart:
Here's an HTMLBars AST transform example @mmun put together that shows how we can rewrite the static class names to their auto-generated names: https://github.com/ebryn/ember-component-css/commit/6decd617d946ae567022265d0dab6aa8d29373c9
@addyosmani yep, my thoughts are at build time we could potentially inline the component styles into the shadow root via `` or generate an actual css file per component and...
@mellatone there could be a file size reduction win, i'm interested in exploring these kinds of optimizations @davewasmer i'd like ember-component-css 1.0 to become a default package in ember-cli and...
> How would this work with dynamic class names, i.e. ``? We'll transform it to a helper call that prefixes the dynamic class names. We're discussing our opt-out strategy still,...
@alexlafroscia Good question. I would say `ember-component-css` doesn't prescribe to any existing CSS module system design as I haven't seen one that satisfies all the design constraints that I've had...