Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a "Process only co-located styles" flag? #174

Open
lougreenwood opened this issue Jan 28, 2020 · 0 comments
Open

Add a "Process only co-located styles" flag? #174

lougreenwood opened this issue Jan 28, 2020 · 0 comments

Comments

@lougreenwood
Copy link

It would be useful if it were possible to tell e-c-m to only process files which come from co-location.

This would provide a useful migration path away from ember-component-css, which has issues with Glimmer Components. The upgrade path would look something like:

  • Whilst ember-component-css is installed
  • Install e-c-m
  • Enable "co-location only" flag
  • Migrate a component to GC and migrate it's css to css-modules - as a co-located component.

I think that this would simplify the workaround proposed by @knownasilya here: https://ilyaradchenko.com/running-component-css-and-css-modules-in-the-same-app/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant