
Security News
OWASP 2025 Top 10 Adds Software Supply Chain Failures, Ranked Top Community Concern
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.
@funboxteam/rebuild-in-progress-webpack-plugin
Advanced tools
Creates the file indicator at the beginning of the build and deletes it at the end.
Webpack plugin that creates the file indicator at the beginning of the build and deletes it at the end.
Sometimes external programs have to know the project building state. E.g. it's important to have this knowledge for tests running (especially E2E), because testing should be started when the project is completely built.
To solve this problem RebuildInProgress plugin was created. It creates the file node_modules/.rebuildInProgress
when webpack starts to build the project and removes it at the end.
Add the plugin in plugins array as usual:
const RebuildInProgressPlugin = require('@funboxteam/rebuild-in-progress-webpack-plugin');
module.exports = {
plugins: [
new RebuildInProgressPlugin()
]
}
Set the path to the file if the default one isn't suitable:
const RebuildInProgressPlugin = require('@funboxteam/rebuild-in-progress-webpack-plugin');
const rebuildInProgressPath = 'node_modules/.alternativeName';
module.exports = {
plugins: [
new RebuildInProgressPlugin(rebuildInProgressPath)
]
}
Here's an example of watching for build state using
fs:
const fs = require('fs');
const rebuildInProgressPath = 'node_modules/.rebuildInProgress';
fs.watch(path.dirname(rebuildInProgressPath), (eventType, filename) => {
if (eventType === 'rename' && filename === path.basename(rebuildInProgressPath)) {
if (fs.existsSync(rebuildInProgressPath)) {
// Build has been started
} else {
// Build has been completed
}
}
});
FAQs
Creates the file indicator at the beginning of the build and deletes it at the end.
We found that @funboxteam/rebuild-in-progress-webpack-plugin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers 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
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.