Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 921 Bytes

CHANGELOG.md

File metadata and controls

29 lines (18 loc) · 921 Bytes

0.1.6 回滚老方案

2020-06-08

0.1.1 优化构建方案

2020-04-02

Changed

  • lib目录构建为一个与src目录结构一模一样的es5语法的commonjs模块
  • 将根目录的index.js中指向lib/index.js

Added

  • .babellrc.js中增加@babel/plugin-transform-object-assign, @babel/plugin-transform-runtime等插件, 将通用模块在每个module中通过require引入, 而不是每个module内部都实现一次, 从而减少构建体积
  • @babel/runtime设置为dependencies, 因为构建到lib目录的commonjs会依赖其中的模块, 并不会将具体代码构建进去, 这样可以减少上层业务中的构建体积

Fixed

  • 构建commonjs文件时, 使用transform-define, 将全局变量__VERSION__进行替换, 否则会报错: VERSION is not defined

0.1.0

2020-03-27

Changed

Added

  • 项目初始化

Fixed