mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-02-10 18:05:32 +08:00
[mobile] revert changes for addon path
This commit is contained in:
@ -526,10 +526,10 @@ module.exports = function(grunt) {
|
||||
cmd: function() {
|
||||
const editor = packageFile.name == 'presentationeditor' ? 'slide' :
|
||||
packageFile.name == 'spreadsheeteditor' ? 'cell' : 'word';
|
||||
// return `npm run deploy-${editor}`;
|
||||
return `npm run deploy-${editor}`;
|
||||
|
||||
const addon_path = `${packageFile.mobile.js.reactjs && !!packageFile.mobile.js.reactjs.features ? `ADDON_ENV=${packageFile.mobile.js.reactjs.features}` : ''}`;
|
||||
return `npx cross-env TARGET_EDITOR=${editor} NODE_ENV=production ${addon_path} node ./build/build.js`;
|
||||
// const addon_path = `${packageFile.mobile.js.reactjs && !!packageFile.mobile.js.reactjs.features ? `ADDON_ENV=${packageFile.mobile.js.reactjs.features}` : ''}`;
|
||||
// return `npx cross-env TARGET_EDITOR=${editor} NODE_ENV=production ${addon_path} node ./build/build.js`;
|
||||
},
|
||||
},
|
||||
webpack_install: {
|
||||
|
||||
Reference in New Issue
Block a user