dfreeman/ember-css-modules-sass

Not working with Embroider

Closed this issue · 0 comments

Reproduction here: https://github.com/danwenzel/embroider-issues/tree/css-modules-sass

I've got the beta embroider version of ember-css-modules installed (1.3.0-beta.1). After adding ember-cli-sass and ember-css-modules-sass, scss styles are not working.

  • For pods components, getting
Uncaught (in promise) Error: Unable to resolve local class names from embroider-test/components/pods-component/styles; does the styles file exist?
    at resolveSource (local-class.js:24)
    at localClass (local-class.js:13)
    at Function.create (index.js:558)
    at index.js:9266
    at Object.evaluate (runtime.js:227)
    at AppendOpcodes.evaluate (runtime.js:73)
    at LowLevelVM.evaluateSyscall (runtime.js:3295)
    at LowLevelVM.evaluateInner (runtime.js:3241)
    at LowLevelVM.evaluateOuter (runtime.js:3233)
    at VM.next (runtime.js:5299)
  • For classic components, I'm not seeing an error, but there are no styles applied