You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -99,6 +99,8 @@ import sassStyleObject from '!css-object!sass!./styles.scss';
99
99
100
100
This allows you to introduce `css-object-loader` into your projects without making breaking changes.
101
101
102
+
__NOTE__: If you import a CSS file with `:local(...)` selectors, the selector object will include the `:local(...)` string.
103
+
102
104
##### Preprocessors
103
105
104
106
If you want to use `css-object-loader` with LESS or SASS, make sure the preprocessor loader runs before `css-object-loader`. Webpack evaluates loaders right to left. Example config for SASS:
0 commit comments