diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2805d6c..78da3b8 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,9 +1,13 @@
+### v2.1:
+1. 插件按钮增加badge显示正在进行任务数
+2. 增加百度云大文件支持(需要使用wap版百度云:[wap百度云](https://pan.baidu.com/wap/home))
+3. 组件通信逻辑优化
+
### v2.0:
1. **下载队列列表**
2. **下载状态控制:开始、暂停、删除**
3. **aria2全局速度配置**
-
## v1.5:
1. 增加推送,下载成功后推送成功通知
2. aria2支持ws
diff --git a/README.md b/README.md
index b389f19..3eb02f5 100644
--- a/README.md
+++ b/README.md
@@ -10,12 +10,13 @@
1. 拦截指定后缀文件下载
2. 多aria2c服务支持
3. 右键菜单指定aria2c服务
-4. 支持百度云和迅雷离线导出
+4. 支持百度云([wap](https://pan.baidu.com/wap/home))和迅雷离线导出
5. 全局拦截模式
6. 可配置下载成功后是否推送通知提醒
7. **下载队列列表**
8. **下载状态控制:开始、暂停、删除**
9. **aria2全局速度配置**
+10. 扩展按钮展示正在下载任务数量
### 全局捷键:
diff --git a/build/webpack.prod.conf.js b/build/webpack.prod.conf.js
index de99ed2..960c1e8 100644
--- a/build/webpack.prod.conf.js
+++ b/build/webpack.prod.conf.js
@@ -30,12 +30,6 @@ var webpackConfig = merge(baseWebpackConfig, {
new webpack.DefinePlugin({
'process.env': env
}),
- new webpack.optimize.UglifyJsPlugin({
- compress: {
- warnings: false
- },
- sourceMap: true
- }),
// extract css into its own file
new ExtractTextPlugin({
filename: utils.assetsPath('css/[name].[contenthash].css')
@@ -105,6 +99,17 @@ var webpackConfig = merge(baseWebpackConfig, {
]
})
+if(!process.env.npm_config_big){
+ webpackConfig.plugins.push(
+ new webpack.optimize.UglifyJsPlugin({
+ compress: {
+ warnings: false
+ },
+ sourceMap: true
+ })
+ )
+}
+
if(config.build.pages){
config.build.pages.forEach(function (page) {
webpackConfig.plugins.push(
@@ -126,7 +131,6 @@ if(config.build.pages){
)
})
}
-
if(config.build.js){
config.build.js.forEach(function (js) {
webpackConfig.plugins.push(
diff --git a/package.json b/package.json
index 62d6b4f..ae6b96c 100644
--- a/package.json
+++ b/package.json
@@ -6,7 +6,8 @@
"private": true,
"scripts": {
"dev": "node build/dev-server.js",
- "build": "node build/build.js"
+ "build": "node build/build.js",
+ "build_big": "npm run build --big"
},
"dependencies": {
"fastclick": "^1.0.6",
diff --git a/safari2aria.safariextension/Info.plist b/safari2aria.safariextension/Info.plist
index fc09c2d..e7f8104 100644
--- a/safari2aria.safariextension/Info.plist
+++ b/safari2aria.safariextension/Info.plist
@@ -13,9 +13,9 @@