Grunt tasks around Devx grunt build

Downloads in past


1.4.159 months ago2 years agoMinified + gzip package size for @sap/grunt-sapui5-bestpractice-build in KB


Grunt tasks for SAP WebIDE.


Make sure that you have installed npm version >=5.6.0.

Getting Started

If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:
npm install @sap/grunt-sapui5-bestpractice-build --save-dev

OR add the following package.json to your application
	"name": "<your-project-name>",
	"version": "0.0.1",
	"description": "Project description",
	"private": true,	 
	"devDependencies": {
		"@sap/grunt-sapui5-bestpractice-build": "1.X.X"

Once the plugin has been installed, it may be enabled inside your wcGruntfile.js:
module.exports = function(grunt) {         
	'use strict';
        compatVersion: "1.56",
        deploy_mode: "html_repo"
    grunt.registerTask("default", [

Optional Parameters:
"compatVersion" - UI5 version in which the built artifact will be deployed.
"deploymode" - Indication whether the deployed artifact will be hosted by an HTML5 repository. If so, the value should be "htmlrepo".