mirror of
https://github.com/nicolargo/glances.git
synced 2024-12-25 10:12:55 +03:00
WebUI : Remove uglify of js files
This commit is contained in:
parent
ac1a24dbc3
commit
5191b7327b
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
@ -0,0 +1 @@
|
||||
glances/outputs/static/public/js/*.js -diff
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "Glances",
|
||||
"name": "glances",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"angular": "^1.5.8",
|
||||
|
@ -1,5 +1,4 @@
|
||||
var gulp = require('gulp');
|
||||
var uglify = require('gulp-uglify');
|
||||
var concat = require('gulp-concat');
|
||||
var mainBowerFiles = require('main-bower-files');
|
||||
var ngAnnotate = require('gulp-ng-annotate');
|
||||
@ -27,7 +26,6 @@ gulp.task('copy', function() {
|
||||
gulp.task('bower', function() {
|
||||
return gulp.src(mainBowerFiles())
|
||||
.pipe(concat('vendor.js'))
|
||||
.pipe(uglify())
|
||||
.pipe(gulp.dest('./public/js'))
|
||||
});
|
||||
|
||||
@ -35,7 +33,6 @@ gulp.task('build-js', function() {
|
||||
return gulp.src('./js/**/*.js')
|
||||
.pipe(ngAnnotate())
|
||||
.pipe(concat('main.js'))
|
||||
.pipe(uglify())
|
||||
.pipe(gulp.dest('./public/js'))
|
||||
});
|
||||
|
||||
|
@ -8,7 +8,6 @@
|
||||
"gulp-angular-templatecache": "^2.0.0",
|
||||
"gulp-concat": "^2.6.0",
|
||||
"gulp-ng-annotate": "^2.0.0",
|
||||
"gulp-uglify": "^1.5.4",
|
||||
"main-bower-files": "^2.13.1"
|
||||
},
|
||||
"scripts": {
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user