[deploy] extended 'clean' options
This commit is contained in:
parent
a68c38f83c
commit
442d440c19
|
@ -275,10 +275,10 @@ module.exports = function(grunt) {
|
|||
force: true
|
||||
},
|
||||
prebuild: {
|
||||
src: packageFile['main']['clean']
|
||||
src: packageFile.main.clean.prebuild
|
||||
},
|
||||
postbuild: {
|
||||
src: packageFile.main.svgicons.clean
|
||||
src: [...packageFile.main.svgicons.clean, ...packageFile.main.clean.postbuild]
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
@ -5,9 +5,12 @@
|
|||
"homepage": "http://www.onlyoffice.com",
|
||||
"private": true,
|
||||
"main": {
|
||||
"clean": [
|
||||
"../deploy/web-apps/apps/documenteditor/main"
|
||||
],
|
||||
"clean": {
|
||||
"prebuild": [
|
||||
"../deploy/web-apps/apps/documenteditor/main"
|
||||
],
|
||||
"postbuild": []
|
||||
},
|
||||
"js": {
|
||||
"requirejs": {
|
||||
"options": {
|
||||
|
|
|
@ -5,9 +5,12 @@
|
|||
"homepage": "http://www.onlyoffice.com",
|
||||
"private": true,
|
||||
"main": {
|
||||
"clean": [
|
||||
"../deploy/web-apps/apps/presentationeditor/main"
|
||||
],
|
||||
"clean": {
|
||||
"prebuild": [
|
||||
"../deploy/web-apps/apps/presentationeditor/main"
|
||||
],
|
||||
"postbuild": []
|
||||
},
|
||||
"js": {
|
||||
"requirejs": {
|
||||
"options": {
|
||||
|
|
|
@ -5,9 +5,12 @@
|
|||
"homepage": "http://www.onlyoffice.com",
|
||||
"private": true,
|
||||
"main": {
|
||||
"clean": [
|
||||
"../deploy/web-apps/apps/spreadsheeteditor/main"
|
||||
],
|
||||
"clean": {
|
||||
"prebuild": [
|
||||
"../deploy/web-apps/apps/spreadsheeteditor/main"
|
||||
],
|
||||
"postbuild": []
|
||||
},
|
||||
"js": {
|
||||
"requirejs": {
|
||||
"options": {
|
||||
|
|
Loading…
Reference in a new issue