
Security News
pnpm 11.10 Hardens Registry Authentication to Block Token Redirection
pnpm 11.10 hardens registry auth to block token redirection, tightens pack-app and deploy, and makes the Rust port (v12) installable.
ts-rootdirs-webpack-plugin
Advanced tools
Resolve tsconfig.compilerOptions.rootDirs.
npm i -D ts-rootdirs-webpack-plugin
// webpack.config.js
const webpackplugin = new (require('ts-rootdirs-webpack-plugin')).default();
module.exports = {
...
resolve: {
plugins: [webpackplugin]
}
}
// tsconfig.json
{
"compilerOptions": {
...
"rootDirs": ["locale/zh", "locale/a/b/c/#{locale}"],
...
}
}
import locale from '../../locale/a/b/c/#{locale}/message.json';
||
▽
const message_json_1 = __importDefault(__webpack_require__(/*! ../../locale/zh/message.json */ "./locale/zh/message.json"));
FAQs
Resolve tsconfig.compilerOptions.rootDirs.
The npm package ts-rootdirs-webpack-plugin receives a total of 6 weekly downloads. As such, ts-rootdirs-webpack-plugin popularity was classified as not popular.
We found that ts-rootdirs-webpack-plugin 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
pnpm 11.10 hardens registry auth to block token redirection, tightens pack-app and deploy, and makes the Rust port (v12) installable.

Security News
/Research
Socket uncovered 17 malicious npm and PyPI packages typosquatting Paysafe, Skrill, and Neteller SDKs to steal developer secrets.

Security News
Node.js is debating whether AI-driven security report volume warrants moving more vulnerability reports into public workflows.