Skip to content
/ emp Public
forked from empjs/emp

EMP Micro FE Base on webpack 5 & module federation

License

Notifications You must be signed in to change notification settings

inblossoms/emp

This branch is 15 commits behind empjs/emp:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
xuhongbin
Jun 28, 2023
5766c42 · Jun 28, 2023
Nov 18, 2022
Dec 10, 2021
Jun 7, 2023
Jun 28, 2023
Jun 8, 2023
Dec 10, 2021
Nov 5, 2021
Nov 26, 2021
Jul 29, 2022
Apr 10, 2023
May 9, 2022
Jun 7, 2023
Jan 28, 2022
Jan 5, 2023
Nov 5, 2021
Nov 12, 2020
Apr 10, 2023
Jun 7, 2023
Jun 8, 2023
Sep 27, 2021

Repository files navigation

EMP ⚡ 2.0

npm node document Netlify Status

基于下一代构建实现微前端解决方案

  • 💡 微前端、微组件、支持ESM的共享模型
  • ⚡️ 结合SWC快速构建重载
  • 🛠️ 多功能模块支持TypeScript、JSX、CSS、Less、Sass 等支持开箱即用。
  • 📦 “多页应用” 或 “库” 模式的预配置 webpack 构建.
  • 🔩 通用的插件、共享 webpack chain 插件接口.
  • 🔑 TS重构项目、提供灵活的api、Plugin以及完整的类型提示.

🛠️ Typescript 工作流

Typescript 项目 dev 或 build 会生成当前项目 exposes 对应的声明

  • 执行 emp devemp build 后,生成的 index.d.ts 会在 dist/types 目录
  • 执行 emp dts 后,会下载 remote 对应的 d.ts 文件到 ./src/empShareTypes
    • -p 参数可以传下载目录,默认 ./src/empShareTypes

📦 Project

Project NPM Info Author
@efox/emp release Treasure chest Ken
@efox/emp-compile-swc release use swc replace babel, react support only Ken
@efox/plugin-vue-2 release EMP Vue v2 plugin Ken
@efox/plugin-vue-3 release EMP Babel for Vue 3 plugin MAXLZ1
@efox/eslint-config-react release ESLint React Config Ken
@efox/eslint-config-vue release ESLint Vue Config Ken

👬 Community

📖 Articles & Demos

[掘金] [知乎] [Antd Demo] [ESM Demo] [多入口 Demo] [vue 2 Demo]

👬 Contributors

EMP's contributors

About

EMP Micro FE Base on webpack 5 & module federation

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 58.7%
  • SCSS 20.5%
  • JavaScript 14.8%
  • Vue 3.7%
  • CSS 0.9%
  • HTML 0.7%
  • Other 0.7%