
Security News
RubyGems Adds Cooldown Feature to Bundler for Newly Published Gems
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.
dev-serve-update-webpack-plugin
Advanced tools
配合项目super-project-staff的子产线使用的,在开发环境中,将构建打包生成的js文件的路径输出到指定的文件中
| Option | Desc | Type | Example |
|---|---|---|---|
| appName | 子产线的应用名称,用于生成的json中作为key的取值 | String | "Hello" |
| devServerPort | 开发端口(用于生成绝对路径) | Number | 7766 |
| superServeConfigPath | 输出的文件的路径(一般指super-project-staff的serve.dev.config.json文件路径) | String(path) | path.resolve(__dirname, '../super_project_staff/serve.dev.config.json') |
Options example:
plugins: [
new ServiceConfigUpdateWebpackPlugin({
// 项目名
appName: APP_NAME,
// 开发服务器端口号
devServerPort: DEV_SERVER_PORT,
// 生成的json文件路径
output: path.resolve(__dirname, '../super_project_staff/serve.dev.config.json')
})
]
Output json file example:
{
"hello": {
"src": [
"http://localhost:7766/0.js",
"http://localhost:7766/1.js",
"http://localhost:7766/app.js"
],
"timestamp": 1568084495943
},
"world": {
"src": [
"http://localhost:7744/0.js",
"http://localhost:7744/1.js",
"http://localhost:7744/app.js"
],
"timestamp": 1567740866890
}
}
FAQs
在开发环境中,将构建生成的js文件的路径输出到指定的文件中
We found that dev-serve-update-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
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.

Security News
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.

Security News
Federal audit finds NIST lacked a plan to clear the NVD backlog, wasted funds on duplicate work, and delayed use of CISA data.