
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
@kokojs/babel-preset-miniapp
Advanced tools
babel-preset-miniapp 是有赞小程序应用统一的 Babel 配置。
yarn add @kokojs/babel-preset-miniapp --dev
在 babel.config.js 中添加对应的 preset:
module.exports = {
presets: ['@kokojs/babel-preset-miniapp'],
};
用于 polyfill ESNext 语法。
用于将 Babel helper 转换为 import 形式,减少代码体积。
用于转换 TypeScript 语法。
用于组件库按需引入,目前包含以下组件库:
用于转换 class 的属性。
装饰器语法支持。
陈嘉涵。
FAQs
Babel preset for miniapp projects.
The npm package @kokojs/babel-preset-miniapp receives a total of 269 weekly downloads. As such, @kokojs/babel-preset-miniapp popularity was classified as not popular.
We found that @kokojs/babel-preset-miniapp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 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.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.