1.0.1 • Published 9 months ago
@otron/compile-esbuild v1.0.1
AMA Compile SWC
使用 swc 代替 babel 实现模块编译
Install
npm i @otron/ama-compile-swc -D
# or
pnpm add @otron/ama-compile-swc -D
Setting
ama-config.js
const { defineConfig } = require('@otron/ama') const compile = require('@otron/ama-compile-swc')
module.exports = defineConfig({ compile, })
1.0.1
9 months ago