[PE mobile] Fixed build config.
This commit is contained in:
parent
beec096e9d
commit
627517cb5f
|
@ -216,46 +216,153 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"mobile": {
|
"mobile": {
|
||||||
"clean": [
|
"clean": {
|
||||||
|
"deploy": [
|
||||||
"../deploy/web-apps/apps/presentationeditor/mobile"
|
"../deploy/web-apps/apps/presentationeditor/mobile"
|
||||||
],
|
],
|
||||||
|
"template-backup": [
|
||||||
|
"../apps/presentationeditor/mobile/app/template/backup"
|
||||||
|
]
|
||||||
|
},
|
||||||
"js": {
|
"js": {
|
||||||
"src": [
|
"requirejs": {
|
||||||
"../apps/common/Gateway.js",
|
"options": {
|
||||||
"../apps/common/Analytics.js",
|
"name": "../apps/presentationeditor/mobile/app.js",
|
||||||
"../apps/common/mobile/loader.js",
|
"out": "../deploy/web-apps/apps/presentationeditor/mobile/app.js",
|
||||||
"../apps/presentationeditor/mobile/app/view/Main.js",
|
"baseUrl": "../apps/",
|
||||||
"../apps/presentationeditor/mobile/app/view/phone/toolbar/View.js",
|
"inlineText": true,
|
||||||
"../apps/presentationeditor/mobile/app/view/phone/Main.js",
|
"findNestedDependencies": true,
|
||||||
"../apps/presentationeditor/mobile/app/view/tablet/toolbar/View.js",
|
"preserveLicenseComments": false,
|
||||||
"../apps/presentationeditor/mobile/app/view/tablet/Main.js",
|
"optimizeAllPluginResources": true,
|
||||||
"../apps/presentationeditor/mobile/app/controller/Presentation.js",
|
"paths": {
|
||||||
"../apps/presentationeditor/mobile/app/controller/Main.js",
|
"jquery": "../vendor/jquery/jquery",
|
||||||
"../apps/presentationeditor/mobile/app/controller/phone/Main.js",
|
"underscore": "../vendor/underscore/underscore",
|
||||||
"../apps/presentationeditor/mobile/app/controller/tablet/Main.js",
|
"backbone": "../vendor/backbone/backbone",
|
||||||
"../apps/presentationeditor/mobile/app/controller/toolbar/View.js",
|
"framework7": "../vendor/framework7/js/framework7",
|
||||||
"../apps/presentationeditor/mobile/app/profile/Phone.js",
|
"text": "../vendor/requirejs-text/text",
|
||||||
"../apps/presentationeditor/mobile/app/profile/Tablet.js",
|
"xregexp": "empty:",
|
||||||
"../apps/common/locale.js",
|
"sockjs": "empty:",
|
||||||
"../apps/presentationeditor/mobile/app.js"
|
"jszip": "empty:",
|
||||||
],
|
"jszip-utils": "empty:",
|
||||||
"dist": "../deploy/web-apps/apps/presentationeditor/mobile/app-all.js"
|
"jsrsasign": "empty:",
|
||||||
|
"coapisettings": "empty:",
|
||||||
|
"allfonts": "empty:",
|
||||||
|
"sdk": "empty:",
|
||||||
|
"api": "empty:",
|
||||||
|
"core": "common/main/lib/core/application",
|
||||||
|
"extendes": "common/mobile/utils/extendes",
|
||||||
|
"notification": "common/main/lib/core/NotificationCenter",
|
||||||
|
"localstorage": "common/main/lib/util/LocalStorage",
|
||||||
|
"analytics": "common/Analytics",
|
||||||
|
"gateway": "common/Gateway",
|
||||||
|
"locale": "common/locale",
|
||||||
|
"irregularstack": "common/IrregularStack",
|
||||||
|
"sharedsettings": "common/mobile/utils/SharedSettings"
|
||||||
},
|
},
|
||||||
"css": {
|
"shim": {
|
||||||
"normal": {
|
"framework7": {
|
||||||
"src": [
|
"exports": "Framework7"
|
||||||
"../apps/presentationeditor/mobile/resources/css/application-normal.css"
|
|
||||||
],
|
|
||||||
"dist": "../deploy/web-apps/apps/presentationeditor/mobile/resources/css/application-normal.css"
|
|
||||||
},
|
},
|
||||||
"retina": {
|
"underscore": {
|
||||||
"src": [
|
"exports": "_"
|
||||||
"../apps/presentationeditor/mobile/resources/css/application-retina.css"
|
},
|
||||||
|
"backbone": {
|
||||||
|
"deps": [
|
||||||
|
"underscore",
|
||||||
|
"jquery"
|
||||||
],
|
],
|
||||||
"dist": "../deploy/web-apps/apps/presentationeditor/mobile/resources/css/application-retina.css"
|
"exports": "Backbone"
|
||||||
|
},
|
||||||
|
"notification": {
|
||||||
|
"deps": [
|
||||||
|
"backbone"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"core": {
|
||||||
|
"deps": [
|
||||||
|
"backbone",
|
||||||
|
"notification",
|
||||||
|
"irregularstack",
|
||||||
|
"sharedsettings"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"extendes": {
|
||||||
|
"deps": [
|
||||||
|
"underscore",
|
||||||
|
"jquery",
|
||||||
|
"framework7"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"sdk": {
|
||||||
|
"deps": [
|
||||||
|
"jquery",
|
||||||
|
"underscore",
|
||||||
|
"coapisettings",
|
||||||
|
"allfonts",
|
||||||
|
"xregexp",
|
||||||
|
"sockjs",
|
||||||
|
"jszip",
|
||||||
|
"jszip-utils",
|
||||||
|
"jsrsasign"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"gateway": {
|
||||||
|
"deps": [
|
||||||
|
"jquery"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"analytics": {
|
||||||
|
"deps": [
|
||||||
|
"jquery"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"css": {
|
||||||
|
"ios": {
|
||||||
|
"src": [
|
||||||
|
"../apps/presentationeditor/mobile/resources/css/app-ios.css"
|
||||||
|
],
|
||||||
|
"dist": "../deploy/web-apps/apps/presentationeditor/mobile/resources/css/app-ios.css"
|
||||||
|
},
|
||||||
|
"material": {
|
||||||
|
"src": [
|
||||||
|
"../apps/presentationeditor/mobile/resources/css/app-material.css"
|
||||||
|
],
|
||||||
|
"dist": "../deploy/web-apps/apps/presentationeditor/mobile/resources/css/app-material.css"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"htmlmin": {
|
||||||
|
"templates": [
|
||||||
|
{
|
||||||
|
"expand": true,
|
||||||
|
"cwd": "../apps/presentationeditor/mobile/app/template/",
|
||||||
|
"src": "*.template",
|
||||||
|
"dest": "../apps/presentationeditor/mobile/app/template/"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
"copy": {
|
"copy": {
|
||||||
|
"template-backup": [
|
||||||
|
{
|
||||||
|
"expand": true,
|
||||||
|
"cwd": "../apps/presentationeditor/mobile/app/template/",
|
||||||
|
"src": "*.template",
|
||||||
|
"dest": "../apps/presentationeditor/mobile/app/template/backup/",
|
||||||
|
"filter": "isFile"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"template-restore": [
|
||||||
|
{
|
||||||
|
"expand": true,
|
||||||
|
"cwd": "../apps/presentationeditor/mobile/app/template/backup/",
|
||||||
|
"src": "*.template",
|
||||||
|
"dest": "../apps/presentationeditor/mobile/app/template/",
|
||||||
|
"filter": "isFile"
|
||||||
|
}
|
||||||
|
],
|
||||||
"index-page": {
|
"index-page": {
|
||||||
"../deploy/web-apps/apps/presentationeditor/mobile/index.html": "../apps/presentationeditor/mobile/index.html.deploy"
|
"../deploy/web-apps/apps/presentationeditor/mobile/index.html": "../apps/presentationeditor/mobile/index.html.deploy"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue