
Security News
How Enterprise Security Is Adapting to AI-Accelerated Threats
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.
@procore/core-scripts-shims
Advanced tools
Shims that patch @procore/core-scripts.
yarn add @procore/core-scripts-shims
This package contains shims to patch core-scripts. These are useful when it's either difficult to upgrade core-scripts in a timely fashion or to patch things that are not easily changeable in core-scripts.
// procore.config.js
const { aShim } = require('@procore/core-scripts-shims');
module.exports = () => {
app: {
webpackOverride(config) {
// any other overrides in webpackOverride.
// Apply the desired shim.
aShim(config);
}
}
}
autoPublicPathThis shim will patch the publicPath to be consistent across usages in the core-scripts webpack configuration, and enables the use of the "auto" public path for context-free MFE deployments. "context-free" means no more needing to specify a --publicPath value!
// procore.config.js
const { autoPublicPath } = require('@procore/core-scripts-shims');
module.exports = () => {
app: {
webpackOverride(config) {
// any other overrides in webpackOverride.
autoPublicPath(config);
}
}
}
FAQs
Shims that patch core-scripts
The npm package @procore/core-scripts-shims receives a total of 0 weekly downloads. As such, @procore/core-scripts-shims popularity was classified as not popular.
We found that @procore/core-scripts-shims demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 299 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
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.