![require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages](https://cdn.sanity.io/images/cgdhsj6q/production/be8ab80c8efa5907bc341c6fefe9aa20d239d890-1600x1097.png?w=400&fit=max&auto=format)
Security News
require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
jgb-plugin-json
Advanced tools
支持 json 编译的插件,会自动查找.json 中符合小程序引用规则的资源,例如 app.js 中的 pages 的相关四个文件、分包、 usingComponents 中的组件等资源
支持 json 编译的插件,会自动查找.json 中符合小程序引用规则的资源,例如 app.js 中的 pages 的相关四个文件、分包、 usingComponents 中的组件等资源
hookName | hooktime | emitdata |
---|---|---|
collect-app-json | 当收集app.json依赖时 | 表1 |
collect-page-json | 当收集其他包含usingComponents字段的json时 | 表2 |
字段名 | 值 | 描述 |
---|---|---|
dependences | 依赖项:Set | |
appJson | app.json | json |
ctx | JsonAsset |
字段名 | 值 | 描述 |
---|---|---|
dependences | 依赖项:Set | |
pageJson | page.json | json |
ctx | JsonAsset |
FAQs
支持 json 编译的插件,会自动查找.json 中符合小程序引用规则的资源,例如 app.js 中的 pages 的相关四个文件、分包、 usingComponents 中的组件等资源
The npm package jgb-plugin-json receives a total of 2 weekly downloads. As such, jgb-plugin-json popularity was classified as not popular.
We found that jgb-plugin-json 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.
Security News
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.