1
0
mirror of https://github.com/bitwarden/desktop.git synced 2024-11-16 10:35:31 +01:00

get rid of minified library code

This commit is contained in:
Kyle Spearrin 2016-10-17 20:25:57 -04:00
parent 3ac9196c98
commit 293308b8bb
2 changed files with 8 additions and 7 deletions

View File

@ -45,12 +45,13 @@ gulp.task('lib', ['clean:lib'], function () {
src: [
paths.npmDir + 'bootstrap/dist/**/*',
'!' + paths.npmDir + 'bootstrap/dist/**/npm.js',
'!' + paths.npmDir + 'bootstrap/dist/**/css/*theme*'
'!' + paths.npmDir + 'bootstrap/dist/**/css/*theme*',
'!' + paths.npmDir + 'bootstrap/**/*.min*'
],
dest: paths.libDir + 'bootstrap'
},
{
src: paths.npmDir + 'font-awesome/css/*',
src: paths.npmDir + 'font-awesome/css/font-awesome.css',
dest: paths.libDir + 'font-awesome/css'
},
{
@ -58,11 +59,11 @@ gulp.task('lib', ['clean:lib'], function () {
dest: paths.libDir + 'font-awesome/fonts'
},
{
src: paths.npmDir + 'jquery/dist/*.js',
src: paths.npmDir + 'jquery/dist/jquery.js',
dest: paths.libDir + 'jquery'
},
{
src: paths.npmDir + 'angular/angular*.js',
src: paths.npmDir + 'angular/angular.js',
dest: paths.libDir + 'angular'
},
{
@ -74,7 +75,7 @@ gulp.task('lib', ['clean:lib'], function () {
dest: paths.libDir + 'angular-ui-bootstrap'
},
{
src: paths.npmDir + 'angular-ui-router/release/*.js',
src: paths.npmDir + 'angular-ui-router/release/angular-ui-router.js',
dest: paths.libDir + 'angular-ui-router'
},
{
@ -103,7 +104,7 @@ gulp.task('lib', ['clean:lib'], function () {
dest: paths.libDir + 'q'
},
{
src: [paths.npmDir + 'sweetalert/dist/sweetalert.css', paths.npmDir + 'sweetalert/dist/sweetalert.min.js',
src: [paths.npmDir + 'sweetalert/dist/sweetalert.css', paths.npmDir + 'sweetalert/dist/sweetalert-dev.js',
paths.npmDir + 'angular-sweetalert/SweetAlert.js'],
dest: paths.libDir + 'sweetalert'
},

View File

@ -23,7 +23,7 @@
<script src="../lib/angular-toastr/angular-toastr.tpls.js"></script>
<script src="../lib/ngclipboard/ngclipboard.js"></script>
<script src="../lib/sweetalert/SweetAlert.js"></script>
<script src="../lib/sweetalert/sweetalert.min.js"></script>
<script src="../lib/sweetalert/sweetalert-dev.js"></script>
<script src="../lib/angularjs-slider/rzslider.js"></script>
<script src="../lib/angulartics/angulartics.js"></script>
<script src="../lib/angulartics/angulartics-ga.js"></script>