
Security News
High Salaries No Longer Enough to Attract Top Cybersecurity Talent
A survey of 500 cybersecurity pros reveals high pay isn't enough—lack of growth and flexibility is driving attrition and risking organizational security.
craco-workbox
Advanced tools
Prerequisites
Install craco
yarn add craco-workbox -D
# OR
npm install craco-workbox -S
// craco.config.js
const CracoWorkboxPlugin = require('craco-workbox');
module.exports = {
plugins: [{
plugin: CracoWorkboxPlugin
}]
}
// workbox.config.js
module.exports = {
GenerateSW: options => {
// override GenerateSW config here
// e.g. options.skipWaiting = true;
return options;
},
InjectManifest: options => {
// override InjectManifest config here
// e.g. options.maximumFileSizeToCacheInBytes = 10 * 1024 * 1024;
return options;
}
};
Licensed under the MIT License, Copyright ©️ 2019 Kevin S. Perrine. See LICENSE for more information.
FAQs
A simple craco plugin to override the workbox config in CRA2
We found that craco-workbox demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A survey of 500 cybersecurity pros reveals high pay isn't enough—lack of growth and flexibility is driving attrition and risking organizational security.
Product
Socket, the leader in open source security, is now available on Google Cloud Marketplace for simplified procurement and enhanced protection against supply chain attacks.
Security News
Corepack will be phased out from future Node.js releases following a TSC vote.