mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-07-08 20:06:32 +00:00
Minified browser code in the packaged final app. (#931)
- Also switched to minified `monaco` code, - Removed dead code from the packaged. Signed-off-by: Akos Kitta <kittaakos@gmail.com>
This commit is contained in:
parent
4de7737d14
commit
78004fa4ca
@ -20,8 +20,7 @@
|
||||
"shelljs": "^0.8.3"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "yarn download:plugins && theia build --mode development && yarn patch",
|
||||
"build:publish": "yarn download:plugins && theia build --mode production && yarn patch",
|
||||
"build": "yarn download:plugins && theia build --mode production && yarn patch",
|
||||
"rebuild": "yarn theia rebuild:electron",
|
||||
"package": "cross-env DEBUG=* && electron-builder --publish=never",
|
||||
"package:publish": "cross-env DEBUG=* && electron-builder --publish=always",
|
||||
|
@ -227,8 +227,7 @@ ${fs.readFileSync(path('..', 'build', 'package.json')).toString()}
|
||||
'Installing dependencies'
|
||||
);
|
||||
exec(
|
||||
`yarn --network-timeout 1000000 --cwd ${path('..', 'build')} build${isElectronPublish ? ':publish' : ''
|
||||
}`,
|
||||
`yarn --network-timeout 1000000 --cwd ${path('..', 'build')} build`,
|
||||
`Building the ${productName} application`
|
||||
);
|
||||
exec(
|
||||
@ -488,7 +487,6 @@ ${fs.readFileSync(path('..', 'build', 'package.json')).toString()}
|
||||
)}.`
|
||||
);
|
||||
shell.exit(1);
|
||||
process.exit(1);
|
||||
}
|
||||
if (expectedVersion) {
|
||||
if (!versions.has(expectedVersion)) {
|
||||
@ -497,7 +495,6 @@ ${fs.readFileSync(path('..', 'build', 'package.json')).toString()}
|
||||
}'.`
|
||||
);
|
||||
shell.exit(1);
|
||||
process.exit(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user