Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
@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 157 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 0 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
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.