ember-component-css
ember-component-css copied to clipboard
ember-component-css in production env on ember 5.3.0 have no styleNamespace
When I am using ember-component-css addon in development env - everything works fine, I got class prefix in each style when i am using {{this.styleNamespace}}.
Example:
<div class='{{this.styleNamespace}}'> // <div class='hjsdf6_class-name-from-component'>
</div>
But when I am using my app with production env i get:
<div class='hjsdf6_ '>
</div>
In component.js:
import podNames from 'ember-component-css/pod-names'
get styleNamespace() {
return podNames['class-name-from-component']
}
So, may be it is not a bug. May be it is a feature?...
ember-component-css: "^0.8.1", "ember-cli": "~5.3.0"