mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 06:17:28 -08:00
Updated wedbpack to only pull from resources or node_modules
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
94e8343f63
commit
b0d848caec
|
@ -11,17 +11,22 @@ mix
|
|||
processFontUrls: true,
|
||||
clearConsole: false
|
||||
})
|
||||
.less('resources/assets/less/AdminLTE.less', 'css')
|
||||
.less('resources/assets/less/app.less', 'css')
|
||||
.less('resources/assets/less/overrides.less', 'css')
|
||||
.less('./node_modules/admin-lte/build/less/AdminLTE.less', 'css/build')
|
||||
.less('./resources/assets/less/app.less', 'css/build')
|
||||
.less('./resources/assets/less/overrides.less', 'css/build')
|
||||
.styles([
|
||||
'./resources/assets/css/font-awesome/font-awesome.min.css',
|
||||
'./node_modules/bootstrap/dist/css/bootstrap.css',
|
||||
'./public/css/build/AdminLTE.css',
|
||||
'./resources/assets/css/app.css',
|
||||
'public/css/AdminLTE.css',
|
||||
'resources/assets/css/font-awesome/font-awesome.min.css',
|
||||
'./node_modules/icheck/skins/minimal/minimal.css',
|
||||
'./node_modules/select2/dist/css/select2.css',
|
||||
'./node_modules/select2/dist/css/select2.css',
|
||||
'./node_modules/bootstrap-datepicker/dist/css/bootstrap-datepicker.standalone.css',
|
||||
'public/css/bootstrap-tables-sticky-header.css',
|
||||
'public/css/overrides.css'
|
||||
'./resources/assets/css/bootstrap-tables-sticky-header.css',
|
||||
//'./node_modules/jquery-ui-bundle/jquery-ui.css',
|
||||
'./resources/assets/css/signature-pad.css',
|
||||
'./node_modules/icheck/skins/minimal/_all.css',
|
||||
'./public/css/build/overrides.css'
|
||||
],
|
||||
'./public/css/dist/all.css')
|
||||
|
||||
|
@ -29,13 +34,16 @@ mix
|
|||
// This compiles the vue.js file in the build directory
|
||||
// for later concatenation in the scripts() section below.
|
||||
.js(
|
||||
|
||||
'resources/assets/js/vue.js', // Snipe-IT's initializer for Vue.js
|
||||
'./resources/assets/js/vue.js', // Snipe-IT's initializer for Vue.js
|
||||
'./public/js/build'
|
||||
).sourceMaps()
|
||||
.scripts([
|
||||
'./node_modules/jquery-ui/jquery-ui.js',
|
||||
'./public/js/build/vue.js', //this is the modularized nifty Vue.js thing we just built, above!
|
||||
//'./node_modules/jquery/dist/jquery.js',
|
||||
//'./node_modules/jquery-ui-bundle/jquery-ui.js',
|
||||
//'./node_modules/bootstrap/dist/js/bootstrap.js',
|
||||
'./resources/assets/js/app.js', //this is part of AdminLTE
|
||||
|
||||
'./node_modules/tether/dist/js/tether.min.js',
|
||||
'./node_modules/jquery-slimscroll/jquery.slimscroll.js',
|
||||
'./node_modules/jquery.iframe-transport/jquery.iframe-transport.js',
|
||||
|
@ -43,33 +51,38 @@ mix
|
|||
'./node_modules/bootstrap-colorpicker/dist/js/bootstrap-colorpicker.js',
|
||||
'./node_modules/bootstrap-datepicker/dist/js/bootstrap-datepicker.js',
|
||||
'./node_modules/icheck/icheck.js',
|
||||
'./node_modules/select2/dist/js/select2.js',
|
||||
'./node_modules/jquery-form-validator/form-validator/jquery.form-validator.js',
|
||||
'./node_modules/list.js/dist/list.js',
|
||||
'./node_modules/ekko-lightbox/dist/ekko-lightbox.js',
|
||||
'./resources/assets/js/app.js', //this is part of AdminLTE
|
||||
'./resources/assets/js/snipeit.js', //this is the actual Snipe-IT JS
|
||||
|
||||
'./resources/assets/js/snipeit.js', //this is the actual Snipe-IT JS
|
||||
'./resources/assets/js/snipeit_modals.js'
|
||||
],
|
||||
'./public/js/dist/all.js');
|
||||
|
||||
mix.copy('./public/css/dist/all.css', './public/css/build/all.css').copy('./public/js/dist/all.js', './public/js/build/all.js');
|
||||
// Syntax: mix.copy(from, to);
|
||||
// mix.copy('./public/css/build/app.css', './public/css/dist/all.css')
|
||||
// .copy('./public/js/build/app.js', './public/js/dist/all.js')
|
||||
mix.copy('./node_modules/font-awesome/fonts', './public/css/fonts')
|
||||
.copy('./node_modules/icheck/skins/minimal', './public/css/dist');
|
||||
|
||||
mix.version();
|
||||
//mix.version();
|
||||
|
||||
mix.less('resources/assets/less/skins/skin-blue.less', 'css/skins', './public/css/skins/skin-blue.css');
|
||||
mix.less('resources/assets/less/skins/skin-red.less', 'css/skins', './public/css/skins/skin-red.css');
|
||||
mix.less('resources/assets/less/skins/skin-contrast.less', 'css/skins', './public/css/skins/skin-contrast.css');
|
||||
mix.less('resources/assets/less/skins/skin-green.less', 'css/skins', './public/css/skins/skin-green.css');
|
||||
mix.less('resources/assets/less/skins/skin-green-dark.less', 'css/skins', './public/css/skins/skin-green-light.css');
|
||||
mix.less('resources/assets/less/skins/skin-black.less', 'css/skins', './public/css/skins/skin-black.css');
|
||||
mix.less('resources/assets/less/skins/skin-black-dark.less', 'css/skins', './public/css/skins/skin-black-light.css');
|
||||
mix.less('resources/assets/less/skins/skin-red-dark.less', 'css/skins', './public/css/skins/skin-red-light.css');
|
||||
mix.less('resources/assets/less/skins/skin-purple.less', 'css/skins', './public/css/skins/skin-purple.css');
|
||||
mix.less('resources/assets/less/skins/skin-purple-dark.less', 'css/skins', './public/css/skins/skin-purple-light.css');
|
||||
mix.less('resources/assets/less/skins/skin-yellow.less', 'css/skins', './public/css/skins/skin-yellow.css');
|
||||
mix.less('resources/assets/less/skins/skin-yellow-dark.less', 'css/skins', './public/css/skins/skin-yellow-light.css');
|
||||
mix.less('resources/assets/less/skins/skin-blue-dark.less', 'css/skins', './public/css/skins/skin-blue-light.css');
|
||||
mix.less('resources/assets/less/skins/skin-orange-dark.less', 'css/skins', './public/css/skins/skin-orange-light.css');
|
||||
mix.less('resources/assets/less/skins/skin-orange.less', 'css/skins', './public/css/skins/skin-orange.css');
|
||||
mix.less('./resources/assets/less/skins/skin-blue.less', 'css/dist/skins', './public/css/dist/skins/skin-blue.css');
|
||||
mix.less('./resources/assets/less/skins/skin-red.less', 'css/dist/skins', './public/css/dist/skins/skin-red.css');
|
||||
mix.less('./resources/assets/less/skins/skin-contrast.less', 'css/dist/skins', './public/css/dist/skins/skin-contrast.css');
|
||||
mix.less('./resources/assets/less/skins/skin-green.less', 'css/dist/skins', './public/css/dist/skins/skin-green.css');
|
||||
mix.less('./resources/assets/less/skins/skin-green-dark.less', 'css/dist/skins', './public/css/dist/skins/skin-green-light.css');
|
||||
mix.less('./resources/assets/less/skins/skin-black.less', 'css/dist/skins', './public/css/dist/skins/skin-black.css');
|
||||
mix.less('./resources/assets/less/skins/skin-black-dark.less', 'css/dist/skins', './public/css/dist/skins/skin-black-light.css');
|
||||
mix.less('./resources/assets/less/skins/skin-red-dark.less', 'css/dist/skins', './public/css/dist/skins/skin-red-light.css');
|
||||
mix.less('./resources/assets/less/skins/skin-purple.less', 'css/dist/skins', './public/css/dist/skins/skin-purple.css');
|
||||
mix.less('./resources/assets/less/skins/skin-purple-dark.less', 'css/dist/skins', './public/css/dist/skins/skin-purple-light.css');
|
||||
mix.less('./resources/assets/less/skins/skin-yellow.less', 'css/dist/skins', './public/css/skins/dist/skin-yellow.css');
|
||||
mix.less('./resources/assets/less/skins/skin-yellow-dark.less', 'css/dist/skins', './public/css/dist/skins/skin-yellow-light.css');
|
||||
mix.less('./resources/assets/less/skins/skin-blue-dark.less', 'css/skins/dist', './public/css/dist/skins/skin-blue-light.css');
|
||||
mix.less('./resources/assets/less/skins/skin-orange-dark.less', 'css/dist/skins', './public/css/dist/skins/skin-orange-light.css');
|
||||
mix.less('./resources/assets/less/skins/skin-orange.less', 'css/dist/skins', './public/css/dist/skins/skin-orange.css');
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue