Closed wridgeu closed 4 years ago
Maybe I can create a custom task in order to uglify my custom CSS?
https://github.com/SAP/ui5-cli/issues/192
specVersion: "1.0" kind: project type: application metadata: name: openui5-sample-app builder: customTasks: - name: demoTask afterTask: uglify configuration: color: blue --- # Task extension as part of your project specVersion: "1.0" kind: extension type: task metadata: name: demoTask task: path: tasks/demoTask.js
create folder tasks in the project root on the same level as webapp create the demo task in the task folder
module.exports = async function({workspace, dependencies, options}) { console.log(workspace,dependencies,options) };
https://sap.github.io/ui5-tooling/api/module-@ui5_builder.tasks.html#.uglify
Nevermind. I realized the CSS-files I'm dealing with were already minified and there is no 'actual' uglify for CSS as there is for JS (having everything shortened - by a lot).
Maybe I can create a custom task in order to uglify my custom CSS?
https://github.com/SAP/ui5-cli/issues/192
create folder tasks in the project root on the same level as webapp create the demo task in the task folder
https://sap.github.io/ui5-tooling/api/module-@ui5_builder.tasks.html#.uglify