@@ -139,15 +139,12 @@ const JS = gulp.parallel(function vendorJS() {
139139 'admin-lte/dist/js/adminlte.js' ,
140140 'bootstrap/dist/js/bootstrap.min.js' ,
141141 'bootstrap-daterangepicker/daterangepicker.js' ,
142- 'datatables.net-bs/js/dataTables.bootstrap.js' ,
143- 'datatables.net-buttons-bs/js/buttons.bootstrap.js' ,
144142 'smartwizard/dist/js/jquery.smartWizard.min.js' ,
145143 'bootstrap-maxlength/dist/bootstrap-maxlength.js' ,
146144 'leaflet/dist/leaflet.js' ,
147145 'leaflet-gesture-handling/dist/leaflet-gesture-handling.min.js' ,
148146 'leaflet.fullscreen/Control.FullScreen.js' ,
149147 'ismobilejs/dist/isMobile.min.js' ,
150- 'ua-parser-js/dist/ua-parser.min.js' ,
151148 'readmore.js/readmore.js' ,
152149 ] ;
153150
@@ -456,11 +453,18 @@ function pdfjs() {
456453}
457454
458455function uaparser ( ) {
459- return gulp . src ( [
456+ const js = gulp . src ( [
457+ config . nodeDirectory + '/ua-parser-js/dist/ua-parser.min.js' ,
458+ ] )
459+ . pipe ( gulp . dest ( config . production + '/' + config . paths . js ) ) ;
460+
461+ const icons = gulp . src ( [
460462 config . nodeDirectory + '/ua-parser-js/dist/icons/mono/**/*' ,
461463 '!' + config . nodeDirectory + '/ua-parser-js/dist/icons/mono/LICENSE.md' ,
462464 ] , { encoding : false } )
463465 . pipe ( gulp . dest ( config . production + '/' + config . paths . images + '/icons/' ) ) ;
466+
467+ return merge ( js , icons ) ;
464468}
465469
466470// Elaborazione e minificazione delle informazioni sull'internazionalizzazione
0 commit comments