A Bundlewatch configuration for monitoring the file size of libraries in the Galaxy.
npm install @theholocron/bundlewatch-configA bundlewatch configuration for monitoring file size for libraries.
``bash`
npm install --save-dev @theholocron/bundlewatch-config
In your project package.json add the following:
`json`
{
"scripts": {
"audit:bundle": "bundlewatch --config ./node_modules/@theholocron/bundlewatch-config/index.js",
"audit": "run-p audit:*"
}
}
Note: run-p uses npm-run-all package to run tasks concurrently, but you could also use concurrently`.