在Web应用程序(AngularJS)中,使用18个第三方库。整个应用程序大小为50 MB,因为bower_components占用48 MB。需要减小应用程序的大小。应用程序只是客户关注的应用程我苦苦挣扎了2天。有没有办法限制bower.json中的bower安装。我只需要.js,.min.js文件和.css文件。请帮帮我
先谢谢。
bower.json
{
"name": "eshopingChannel",
"version": "0.0.0",
"dependencies": {
"angular": "1.6.1",
"angular-resource": "1.6.1",
"angular-cookies": "1.6.1",
"angular-messages": "1.6.1",
"angular-sanitize": "1.6.1",
"angular-animate": "1.6.1",
"angular-material": "latest",
"lodash": "~2.4.1",
"angular-ui-router": "~0.2.15",
"jquery": "^3.1.1",
------
------
------
-----
},
"devDependencies": {
"angular-mocks": "1.6.1",
"angular-scenario": "1.6.1"
},
"resolutions": {
"angular": "1.6.1"
}
}