Skip to Content
0
Jul 04, 2019 at 03:26 AM

Use Gruntfile in WEBIDE Fullstack latest update

991 Views Last edit May 21, 2020 at 03:24 PM 2 rev

Hi,

I'm reading the latest update from SAP regarding WEBIDE Fullstack. Latest updates states that "SAP Fiori projects will now include the UI5 build, by default. The UI5 build replaces the Grunt build for projects deployed to the Neo or ABAP environment."

I'm wondering if we can still use our existing Gruntfile for building applications in WEBIDE. We have custom grunt tasks that we have added in our Gruntfile and we would still like to use them for new applications.

What are the major difference from

"@ui5/cli": "1.4.3",
"@sap/ui5-builder-webide-extension": "1.0.2",

vs the old

"@sap/grunt-sapui5-bestpractice-build": "1.3.62",

I tried actually to just adding the grunt dependencies in the package.json and run tried building the application.

{
	"name": "Z_SDSO_SAMPLEAPP",
	"version": "0.0.1",
	"description": "",
	"private": true,
	"devDependencies": {
		"@ui5/cli": "1.4.3",
		"@sap/ui5-builder-webide-extension": "1.0.2",
		"grunt-search": "^0.1.8",
		"grunt-jsdoc": "^2.3.0",
		"grunt-contrib-compress": "^1.4.3",
		"grunt-jscpd": "0.0.12"
	},
	"scripts": {
		"build": "ui5 build --include-task=generateManifestBundle generateCachebusterInfo"
	},
	"ui5": {
		"dependencies": [
			"@sap/ui5-builder-webide-extension"
		]
	}
}

It does seem to be running the UI5 builder only the gruntfile.