mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 14:13:43 +01:00
Merge pull request #19764 from overleaf/jpa-server-pro-cache
[server-pro] faster local build GitOrigin-RevId: d71abde37253e4c0398afa6935290af79a1204be
This commit is contained in:
@@ -19,8 +19,6 @@ switch (process.argv.pop()) {
|
||||
console.log('npm install --include=dev')
|
||||
// run webpack
|
||||
console.log('npm run webpack:production')
|
||||
// drop webpack/babel cache
|
||||
console.log('rm -rf node_modules/.cache')
|
||||
// uninstall webpack and frontend dependencies
|
||||
console.log('npm install --omit=dev')
|
||||
// precompile pug
|
||||
@@ -37,8 +35,3 @@ switch (process.argv.pop()) {
|
||||
console.log('exit 101')
|
||||
process.exit(101)
|
||||
}
|
||||
|
||||
console.log('set +x')
|
||||
console.log(
|
||||
'rm -rf /root/.cache /root/.npm $(find /tmp/ -mindepth 1 -maxdepth 1)'
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user