Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: use pure ESM format #167

Merged
merged 4 commits into from
May 20, 2021
Merged

feat: use pure ESM format #167

merged 4 commits into from
May 20, 2021

Conversation

ambar
Copy link
Collaborator

@ambar ambar commented May 20, 2021

  • 100% ESM 输出,删除 webpack 专有的条件化打包(ESM 内使用 CSJ require 是非法的),改用 alias 实现(另 Rollup 输出可以减小 20K)—— 未来可以考虑完全删掉 webpack 了(example/website 还有用)
  • 升级了 babel,支持 ?? 与 ?.
  • 再次解决 website ESLint 不能运行问题

ambar added 2 commits May 20, 2021 17:14
removed `__WITHOUT_HLSJS__` and `__WITHOUT_MP4__`
@ambar ambar merged commit e54d061 into zhihu:master May 20, 2021
@ambar ambar deleted the rollup-esm branch September 13, 2021 05:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants