mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Fixing laravel mix() fuckery, hopefully for the last time
This commit is contained in:
parent
687cf44d3d
commit
dc9a908de7
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"css/AdminLTE.css","sources":[],"mappings":";;;;;;A","sourceRoot":""}
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"css/app.css","sources":[],"mappings":";;;;;;;;A","sourceRoot":""}
|
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"css/overrides.css","sources":[],"mappings":"","sourceRoot":""}
|
|
@ -1,10 +0,0 @@
|
|||
{
|
||||
"/vue.js": "/vue.js",
|
||||
"/css/AdminLTE.css": "/css/AdminLTE.css",
|
||||
"/css/app.css": "/css/app.css",
|
||||
"/css/overrides.css": "/css/overrides.css",
|
||||
"/vue.js.map": "/vue.js.map",
|
||||
"/css/AdminLTE.css.map": "/css/AdminLTE.css.map",
|
||||
"/css/app.css.map": "/css/app.css.map",
|
||||
"/css/overrides.css.map": "/css/overrides.css.map"
|
||||
}
|
|
@ -1,2 +0,0 @@
|
|||
!function(n){function t(e){if(r[e])return r[e].exports;var o=r[e]={i:e,l:!1,exports:{}};return n[e].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var r={};t.m=n,t.c=r,t.i=function(n){return n},t.d=function(n,r,e){t.o(n,r)||Object.defineProperty(n,r,{configurable:!1,enumerable:!0,get:e})},t.n=function(n){var r=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(r,"a",r),r},t.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},t.p="",t(t.s=62)}({6:function(n,t){},62:function(n,t,r){r(9),r(7),r(8),n.exports=r(6)},7:function(n,t){},8:function(n,t){},9:function(n,t){}});
|
||||
//# sourceMappingURL=mix.js.map
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"mix.js","sources":["webpack:///mix.js"],"sourcesContent":["!function(n){function t(e){if(r[e])return r[e].exports;var o=r[e]={i:e,l:!1,exports:{}};return n[e].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var r={};t.m=n,t.c=r,t.i=function(n){return n},t.d=function(n,r,e){t.o(n,r)||Object.defineProperty(n,r,{configurable:!1,enumerable:!0,get:e})},t.n=function(n){var r=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(r,\"a\",r),r},t.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},t.p=\"\",t(t.s=62)}({6:function(n,t){},62:function(n,t,r){r(9),r(7),r(8),n.exports=r(6)},7:function(n,t){},8:function(n,t){},9:function(n,t){}});\n\n\n// WEBPACK FOOTER //\n// mix.js"],"mappings":"AAAA","sourceRoot":""}
|
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
BIN
public/css/build/all.css
Normal file
BIN
public/css/build/all.css
Normal file
Binary file not shown.
BIN
public/css/dist/all.css
vendored
BIN
public/css/dist/all.css
vendored
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
public/js/build/vue.js
Normal file
BIN
public/js/build/vue.js
Normal file
Binary file not shown.
BIN
public/js/build/vue.js.map
Normal file
BIN
public/js/build/vue.js.map
Normal file
Binary file not shown.
|
@ -1,12 +1,10 @@
|
|||
{
|
||||
"/build/vue.js": "/build/vue.js?id=d0dcadee26c0506bc73f",
|
||||
"/css/AdminLTE.css": "/css/AdminLTE.css?id=b8be19a285eaf44eec37",
|
||||
"/css/app.css": "/css/app.css?id=407edb63cc6b6dc62405",
|
||||
"/css/overrides.css": "/css/overrides.css?id=9ae1a3c861441320c5a1",
|
||||
"/build/vue.js.map": "/build/vue.js.map?id=a916300d57772f57e2df",
|
||||
"/css/AdminLTE.css.map": "/css/AdminLTE.css.map?id=99f5a5a03c4155cf69f6",
|
||||
"/css/app.css.map": "/css/app.css.map?id=bdbe05e6ecd70ccfac72",
|
||||
"/css/overrides.css.map": "/css/overrides.css.map?id=898c91d4a425b01b589b",
|
||||
"/css/dist/all.css": "/css/dist/all.css?id=7c3842d2639193ac7e88",
|
||||
"/js/dist/all.js": "/js/dist/all.js?id=15363bc14ab0694d1275"
|
||||
"/js/build/vue.js": "/js/build/vue.js?id=e9504cad01a748f9b0fa",
|
||||
"/css/AdminLTE.css": "/css/AdminLTE.css?id=889dc040f2ddfca6efde",
|
||||
"/css/app.css": "/css/app.css?id=3a1e8c168fa8714043a6",
|
||||
"/css/overrides.css": "/css/overrides.css?id=3911514a8a64a4247483",
|
||||
"/css/dist/all.css": "/css/dist/all.css?id=f2d4896e67e878a47434",
|
||||
"/js/dist/all.js": "/js/dist/all.js?id=15363bc14ab0694d1275",
|
||||
"/css/build/all.css": "/css/build/all.css?id=f2d4896e67e878a47434",
|
||||
"/js/build/all.js": "/js/build/all.js?id=15363bc14ab0694d1275"
|
||||
}
|
|
@ -1,8 +1,6 @@
|
|||
|
||||
const { mix } = require('laravel-mix');
|
||||
|
||||
mix.setPublicPath('build'); //this throws everything to root dir 'build'
|
||||
|
||||
|
||||
// This generates a file called app.css, which we use
|
||||
// later on to build all.css
|
||||
|
@ -17,21 +15,27 @@ mix
|
|||
.less('resources/assets/less/app.less', 'css')
|
||||
.less('resources/assets/less/overrides.less', 'css')
|
||||
.styles([
|
||||
'build/css/app.css',
|
||||
'./resources/assets/css/app.css',
|
||||
'public/css/AdminLTE.css',
|
||||
'resources/assets/css/font-awesome/font-awesome.min.css',
|
||||
'./bower_components/iCheck/skins/minimal/minimal.css',
|
||||
'./node_modules/bootstrap-datepicker/dist/css/bootstrap-datepicker.standalone.css',
|
||||
'public/css/bootstrap-tables-sticky-header.css',
|
||||
'build/css/overrides.css'
|
||||
], 'public/css/dist/all.css')
|
||||
'public/css/overrides.css'
|
||||
],
|
||||
'./public/css/dist/all.css')
|
||||
|
||||
// jQuery is loaded from vue.js webpack process
|
||||
// This compiles the vue.js file in the build directory
|
||||
// for later concatenation in the scripts() section below.
|
||||
.js(
|
||||
// jQuery is loaded from vue.js webpack process
|
||||
'./resources/assets/js/vue.js', //this is Snipe-IT's initializer for Vue.js
|
||||
'build'
|
||||
).sourceMaps().scripts([
|
||||
|
||||
'resources/assets/js/vue.js', // Snipe-IT's initializer for Vue.js
|
||||
'./public/js/build'
|
||||
).sourceMaps()
|
||||
.scripts([
|
||||
'./node_modules/jquery-ui/jquery-ui.js',
|
||||
'build/vue.js', //this is the modularized nifty Vue.js thing we just built, above!
|
||||
'./public/build/vue.js', //this is the modularized nifty Vue.js thing we just built, above!
|
||||
'./node_modules/tether/dist/js/tether.min.js',
|
||||
'./node_modules/jquery-slimscroll/jquery.slimscroll.js',
|
||||
'./node_modules/jquery.iframe-transport/jquery.iframe-transport.js',
|
||||
|
@ -44,6 +48,9 @@ mix
|
|||
'./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_modals.js'
|
||||
],'public/js/dist/all.js').version();
|
||||
],
|
||||
'./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');
|
||||
|
||||
mix.version();
|
||||
|
|
Loading…
Reference in a new issue