@efox/emp-compile-swc
TypeScript icon, indicating that this package has built-in type declarations

1.3.3 • Public • Published

EMP Compile SWC

使用 swc 代替 babel 实现模块编译

安装

npm i @efox/emp-compile-swc -D
# or
pnpm add @efox/emp-compile-swc -D

配置

emp-config.js

const {defineConfig} = require('@efox/emp')
const compile = require('@efox/emp-compile-swc')
module.exports = defineConfig({
  compile,
})

Package Sidebar

Install

npm i @efox/emp-compile-swc

Weekly Downloads

7

Version

1.3.3

License

MIT

Unpacked Size

21.7 kB

Total Files

14

Last publish

Collaborators

  • ron0115
  • hiitiger
  • ckken
  • doerme
  • hupp
  • magic_zhong
  • yz101x
  • wangcylive
  • tim2018
  • linhaoran
  • yangshangzhi
  • lucky-dog
  • wu_wei
  • nijina
  • zhengy1995
  • bennyshi
  • yellowbeee
  • keylenn