-
-
Notifications
You must be signed in to change notification settings - Fork 0
Path Expansion
Lauri Rooden edited this page Apr 30, 2021
·
1 revision
File and route paths are expanded.
Append to last non-expanded token.
`@litejs/ui,+/pointer.js,+/svg.js` == `@litejs/ui,@litejs/ui/pointer.js,@litejs/ui/svg.js`
Using the "remove matching suffix pattern" parameter expansion.
Remove shortest match from last non-expanded token end to next char after persent sign and append remaining.
`require="path/a.js,%.css"` == `require="path/a.js,path/a.css"`
`@def settings %.view,%.css` == `@def settings settings.view,settings.css`
@litejs/ui/css/base.css,%/grid.css
Copyright (c) 2013-2023 Lauri Rooden <lauri@rooden.ee>
The MIT License