File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -185,15 +185,15 @@ subImport([
185185 {
186186 id: / ([a-z0-9 \.\- ] * \. css)$ / i ,
187187 base: / components/ ([a- z0- 9 ]* )\/ assets\/ ([a- z0- 9 ]* )$/ i,
188- path: ' ~/theme/components/[ base:$1] /assets/[ base:$2]/[ id:$1] '
188+ path: ' ~/theme/components/< base:$1> /assets/< base:$2>/< id:$1> '
189189 }
190190]);
191191```
192192
193193In this case, we get the three aliases:
194- - ` ([a-z0-9\.\-]*\.css) ` will become ` [ id:$1] ` and will contain required filename;
195- - First ` ([a-z0-9]*) ` will become ` [ base:$1] ` and will contain component name;
196- - Second ` ([a-z0-9]*) ` will become ` [ base:$2] ` and will contain some directory inside assets.
194+ - ` ([a-z0-9\.\-]*\.css) ` will become ` < id:$1> ` and will contain required filename;
195+ - First ` ([a-z0-9]*) ` will become ` < base:$1> ` and will contain component name;
196+ - Second ` ([a-z0-9]*) ` will become ` < base:$2> ` and will contain some directory inside assets.
197197
198198Usage of approach of the regular expression is limited only by your imagination.
199199
You can’t perform that action at this time.
0 commit comments