
Company News
/Security News
Socket Selected for OpenAI's Cybersecurity Grant Program
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.
wenke-dev
Advanced tools
wenke-dev 实时开发辅助工具:
npm install -g wenke-dev
wenke-dev -w Node.js工程目录(同时构建多个工程请用"," 英文逗号分隔)
在 Node.js 模板中引入的 JS 主要有 2 种情况:
直接引入 CDN 中的 JS, 这种引入方法会被 wenke-dev 排除在编译列表之外;
具体页面入口 JS 文件, 例如:
<script src="/sf/deploy/js/project1/page1/bundle.js"></script>
注意: 项目中页面入口文件名必须为: main.js,main.js构建后会在deploy目录下生成bundle.js。
Node.js 工程下的模板文件目录必须要有 src 目录,如下:
views
└─src
构建后的模板文件会放置在与 src 同级目录下的 deploy 目录,无需用户手动创建,构建时会自动建立,编译后的目录结构如下:
views
├─deploy
└─src
静态资源根目录下必须要有 src 目录,例如静态资源根目录为 static 的话,如下:
static
└─src
由于使用了webpack-dev-server构建静态资源,因此需要在本地配置转发规则。
Node.js工程文件目录(同时构建多个工程请用"," 英文逗号分隔)
livereload 服务端口, 默认为: 8999
common-library工程路径
启用热更新与内存IO
启用esbuild
启用speed-measure-webpack-plugin
启用webpack-bundle-analyzer
禁用强制更新
欢迎大家将使用 wenke-dev 中遇到的任何问题提交给我,提问地址:Report an issue
如果您发现了代码中的问题,可以 New pull request
wenke-dev 使用 MIT License
FAQs
dev tool for wenke-webpack
The npm package wenke-dev receives a total of 234 weekly downloads. As such, wenke-dev popularity was classified as not popular.
We found that wenke-dev demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.

Security News
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.

Research
/Security News
Campaign of 108 extensions harvests identities, steals sessions, and adds backdoors to browsers, all tied to the same C2 infrastructure.