build(babel): 移除无用的 console.log
- 在 babel 配置中添加 transform-remove-console 插件 - 保留 warn 和 error 级别的 console 输出 - 更新 package.json,添加 babel-plugin-transform-remove-console 依赖
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 906 B |
|
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 915 B |
|
Before Width: | Height: | Size: 905 B After Width: | Height: | Size: 827 B |
|
Before Width: | Height: | Size: 831 B After Width: | Height: | Size: 727 B |
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 6.6 KiB After Width: | Height: | Size: 5.8 KiB |