File tree 4 files changed +6
-6
lines changed
test-folders/mixed-tests/dummy/app/ui
4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ Syntax:
35
35
{{import "{ fn }" from "@ember/helper"}}
36
36
{{import myHelper from 'ui/helper'}}
37
37
{{import my-mod from 'ui/modifiers'}}
38
- {{import style from './styles.scoped .scss'}}
38
+ {{import style from './styles.module .scss'}}
39
39
{{import BasicDropdown from 'ember-basic-dropdown/components/basic-dropdown'}}
40
40
{{import SameDropdown from 'ember-basic-dropdown/components/basic-dropdown'}}
41
41
Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ module.exports = class StylesRewriter extends BroccoliFilter {
23
23
this . options . extension = this . options . extension || 'scss' ;
24
24
this . options . before = this . options . before || [ ] ;
25
25
this . options . after = this . options . after || [ ] ;
26
- this . extensions = [ 'scoped .' + this . options . extension ] ;
27
- this . targetExtension = 'scoped .' + this . options . extension ;
26
+ this . extensions = [ 'module .' + this . options . extension ] ;
27
+ this . targetExtension = 'module .' + this . options . extension ;
28
28
}
29
29
30
30
cacheKeyProcessString ( string , relativePath ) {
@@ -43,7 +43,7 @@ module.exports = class StylesRewriter extends BroccoliFilter {
43
43
if ( relativePath . endsWith ( 'pod-styles.scss' ) ) {
44
44
return contents ;
45
45
}
46
- if ( relativePath . endsWith ( 'scoped .scss' ) ) {
46
+ if ( relativePath . endsWith ( 'module .scss' ) ) {
47
47
const plugins = [ ...this . options . before ]
48
48
plugins . push ( rewriterPlugin ( {
49
49
filename : relativePath ,
Original file line number Diff line number Diff line change 1
- {{ import style from " ./styles.scoped .scss" }}
1
+ {{ import style from " ./styles.module .scss" }}
2
2
3
3
<button class =" global-button {{ style.btn }} " >{{ style.btn }}{{ yield }} </button >
Original file line number Diff line number Diff line change 1
- {{ import style from " ./styles.scoped .scss" }}
1
+ {{ import style from " ./styles.module .scss" }}
2
2
3
3
{{ import Button from " ~/ui/components/button" }}
4
4
{{ import helper2 from " ~/ui/helpers/helper" }}
You can’t perform that action at this time.
0 commit comments