-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE] Add 'libraryLessGenerator' processor #560
Conversation
sinon.restore(); | ||
}); | ||
|
||
test.serial("processor", async (t) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is .serial actually necessary?
I'm mostly fine with this change. But as discussed, we should rather merge it into a dedicated branch where we can then add the corresponding |
|
||
const IMPORT_PATTERN = /@import .*"(.*)";/g; | ||
const BASE_LESS_PATTERN = /^\/resources\/sap\/ui\/core\/themes\/([^/]+)\/base\.less$/; | ||
const GLOBAL_LESS_PATTERN = /^\/resources\/sap\/ui\/core\/themes\/([^/]+)\/global\.(less|css)$/; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The global.css
was only relevant for old themes.
The only reference I could still find is in "sap_platinum" which has been removed with 1.48, so I think it's save to also not handle it in here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one small suggestion, otherwise LG
Merged into |
JIRA: CPOUI5FOUNDATION-264