mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 05:22:16 +00:00
Contain the navbar
This commit is contained in:
14
gulpfile.js
14
gulpfile.js
@@ -35,21 +35,24 @@ function sass() {
|
||||
function scripts() {
|
||||
return gulp.src(['RIGS/static/js/src/**/.js',
|
||||
'node_modules/jquery/dist/jquery.js',
|
||||
'node_modules/popper.js/dist/umd/popper.js',
|
||||
'node_modules/ravenjs/ravenjs.js', //TODO Upgrade to Sentry
|
||||
/* Bootstrap Plugins */
|
||||
'node_modules/bootstrap/js/dist/util.js',
|
||||
'node_modules/bootstrap/js/dist/tooltip.js',
|
||||
'node_modules/bootstrap/js/dist/popover.js',
|
||||
'node_modules/bootstrap/js/dist/dropdown.js',
|
||||
'node_modules/bootstrap/js/dist/collapse.js',
|
||||
'node_modules/bootstrap/js/dist/modal.js',
|
||||
'node_modules/bootstrap/js/dist/alert.js',
|
||||
|
||||
'node_modules/@fortawesome/fontawesome-free/js/all.js',
|
||||
'node_modules/popper.js/**/popper.js',
|
||||
/*'node_modules/moment/min/moment.min.js',*/
|
||||
'node_modules/moment/moment.js',
|
||||
'node_modules/fullcalendar/dist/fullcalendar.js',
|
||||
'node_modules/ajax-bootstrap-select/dist/js/ajax-bootstrap-select.min.js',
|
||||
'node_modules/ajax-bootstrap-select/dist/js/ajax-bootstrap-select.js',
|
||||
'node_modules/konami/konami.js',
|
||||
'node_modules/autocompleter/autocomplete.min.js',
|
||||
'node_modules/@activix/bootstrap-datetimepicker/js/bootstrap-datetimepicker.min.js'])
|
||||
'node_modules/autocompleter/autocomplete.js',
|
||||
'node_modules/@activix/bootstrap-datetimepicker/js/bootstrap-datetimepicker.js'])
|
||||
.pipe(flatten())
|
||||
.pipe(terser())
|
||||
.pipe(gulp.dest('RIGS/static/js'))
|
||||
@@ -78,4 +81,5 @@ function watchFiles() {
|
||||
gulp.watch(['templates/**/*.html', 'RIGS/templates/**/*.html', 'assets/templates/**/*.html'], browserSyncReload);
|
||||
}
|
||||
|
||||
exports.js = scripts;
|
||||
exports.watch = gulp.parallel(watchFiles, browserSync);
|
||||
|
||||
Reference in New Issue
Block a user