Skip to content

Commit

Permalink
build fixes (#291)
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-grace authored May 11, 2023
1 parent 32e32cc commit bf2d8ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ pipeline {
SENTRY_ENVIRONMENT = 'webstudio-dev'
}
steps {
sh 'newpkgjson=$(jq \'.homepage = "https://ury.org.uk/webstudio-dev"\' package.json) && echo "${newpkgjson}" > package.json'
sh 'jq \'.homepage = "https://ury.org.uk/webstudio-dev"\' package.json > package-replace.json && mv package-replace.json package.json'
sh 'REACT_APP_GIT_SHA=`git rev-parse --short HEAD` yarn build'
sshagent(credentials: ['ury']) {
sh 'rsync -av --delete-after build/ deploy@ury:/usr/local/www/webstudio-dev'
Expand Down
3 changes: 2 additions & 1 deletion config/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,8 @@ module.exports = function(webpackEnv) {
urlPattern: /NIPSWeb\/(secure|managed)_play/,
handler: "CacheFirst"
}
]
],
maximumFileSizeToCacheInBytes: 6000000,
}),
// TypeScript type checking
useTypeScript &&
Expand Down

0 comments on commit bf2d8ab

Please sign in to comment.