Skip to content

Commit

Permalink
Remove bundle size limit
Browse files Browse the repository at this point in the history
  • Loading branch information
reyraa committed Mar 24, 2020
1 parent 710befa commit a079b89
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 16 deletions.
1 change: 0 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ pipeline {
fi
npm run --silent build
npm run --silent build:testnet
npm run --silent bundlesize
npm run install-electron-dependencies
USE_SYSTEM_XORRISO=true npm run dist:linux
Expand Down
18 changes: 3 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
"postinstall": "electron-builder install-app-deps && node ./config/liskSdkFix.js",
"install-electron-dependencies": "cd ./app && npm install && cd ..",
"build": "npm-run-all clean-build copy-files build-prod build-electron",
"build:testnet": "npm run build:testnet:pre",
"build:testnet:pre": "cpx \"./app/build/**\" ./app/build-testnet && npm run build:testnet:post",
"build:testnet:post": "replace '\"mainnet\";//defaultNetwork' '\"testnet\";//defaultNetwork' ./app/build-testnet/index.html ",
"dev": "DEBUG=true NACL_FAST=disable && webpack-dev-server --config ./config/webpack.config.dev --hot",
"dev-hardware-wallet": " DEBUG=true webpack-dev-server --config ./config/webpack.config.dev --hot --https",
"build-prod": "webpack --config ./config/webpack.config.prod",
Expand All @@ -18,7 +21,6 @@
"cypress:run": "cypress run --project test/cypress",
"test": "jest --config ./jest.config.js",
"test-live": "npm test -- --watch",
"bundlesize": "bundlesize",
"analyze-bundles": "webpack --config ./config/webpack.config.analyze",
"start": "electron ./app/",
"dist": "electron-builder --ia32 --x64 --publish onTag",
Expand Down Expand Up @@ -278,20 +280,6 @@
}
}
},
"bundlesize": [
{
"path": "./app/build/bundle.app.*.js",
"maxSize": "1 MB"
},
{
"path": "./app/build/bundle.vendor.*.js",
"maxSize": "2.50 MB"
},
{
"path": "./app/build/app.css",
"maxSize": "1.50 MB"
}
],
"engines": {
"node": ">=v12.7.0"
},
Expand Down

0 comments on commit a079b89

Please sign in to comment.