EMP 项目构建工具

快速开始

安装插件

npm
yarn
pnpm
bun
npm add @empjs/cli -D

配置

emp-config.js
import {defineConfig} from '@empjs/cli'
export default defineConfig(store => {
  return {
  }
})

指令

package.json
"scripts": {
    "dev": "emp dev",
    "build": "emp build",
    "start": "emp serve",
    "stat": "emp build --analyze",
    "emp": "emp"
  },