build
This commit is contained in:
3
public/js/app.js
vendored
3
public/js/app.js
vendored
File diff suppressed because one or more lines are too long
1
public/js/app.js.map
Normal file
1
public/js/app.js.map
Normal file
File diff suppressed because one or more lines are too long
1
public/js/manifest.js
vendored
Normal file
1
public/js/manifest.js
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
!function(e){function r(r){for(var n,l,f=r[0],i=r[1],a=r[2],c=0,s=[];c<f.length;c++)l=f[c],Object.prototype.hasOwnProperty.call(o,l)&&o[l]&&s.push(o[l][0]),o[l]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(p&&p(r);s.length;)s.shift()();return u.push.apply(u,a||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,f=1;f<t.length;f++){var i=t[f];0!==o[i]&&(n=!1)}n&&(u.splice(r--,1),e=l(l.s=t[0]))}return e}var n={},o={1:0},u=[];function l(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,l),t.l=!0,t.exports}l.m=e,l.c=n,l.d=function(e,r,t){l.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(e,r){if(1&r&&(e=l(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(l.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)l.d(t,n,function(r){return e[r]}.bind(null,n));return t},l.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(r,"a",r),r},l.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},l.p="/";var f=window.webpackJsonp=window.webpackJsonp||[],i=f.push.bind(f);f.push=r,f=f.slice();for(var a=0;a<f.length;a++)r(f[a]);var p=i;t()}([]);
|
9
public/js/manifest.js.map
Normal file
9
public/js/manifest.js.map
Normal file
File diff suppressed because one or more lines are too long
2
public/js/vendor.js
vendored
Normal file
2
public/js/vendor.js
vendored
Normal file
File diff suppressed because one or more lines are too long
16
public/js/vendor.js.LICENSE.txt
Normal file
16
public/js/vendor.js.LICENSE.txt
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
/*!
|
||||||
|
* Vue.js v2.6.11
|
||||||
|
* (c) 2014-2019 Evan You
|
||||||
|
* Released under the MIT License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @license
|
||||||
|
* Lodash <https://lodash.com/>
|
||||||
|
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
||||||
|
* Released under MIT license <https://lodash.com/license>
|
||||||
|
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
||||||
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
||||||
|
*/
|
||||||
|
|
||||||
|
//! moment.js
|
1
public/js/vendor.js.map
Normal file
1
public/js/vendor.js.map
Normal file
File diff suppressed because one or more lines are too long
@@ -1,4 +1,6 @@
|
|||||||
{
|
{
|
||||||
"/js/app.js": "/js/app.js",
|
"/js/app.js": "/js/app.js?id=aec5f58d45a831d17a96",
|
||||||
"/css/app.css": "/css/app.css"
|
"/css/app.css": "/css/app.css?id=68d78a0cdd953755874d",
|
||||||
|
"/js/manifest.js": "/js/manifest.js?id=3c768977c2574a34506e",
|
||||||
|
"/js/vendor.js": "/js/vendor.js?id=596002803ce0d197ef4c"
|
||||||
}
|
}
|
||||||
|
@@ -5,7 +5,7 @@
|
|||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
@yield('meta')
|
@yield('meta')
|
||||||
<link rel="stylesheet" href="/css/app.css">
|
<link href="{{ mix('/css/app.css') }}" rel="stylesheet">
|
||||||
<link rel="stylesheet" href="/css/styles.css">
|
<link rel="stylesheet" href="/css/styles.css">
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
@@ -28,7 +28,9 @@
|
|||||||
</div>
|
</div>
|
||||||
@include('sweetalert::alert')
|
@include('sweetalert::alert')
|
||||||
|
|
||||||
<script src="/js/app.js"></script>
|
<script src="{{ mix('/js/manifest.js') }}"></script>
|
||||||
|
<script src="{{ mix('/js/vendor.js') }}" defer></script>
|
||||||
|
<script src="{{ mix('/js/app.js') }}" defer></script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
27
webpack.mix.js
vendored
27
webpack.mix.js
vendored
@@ -1,25 +1,26 @@
|
|||||||
const mix = require('laravel-mix');
|
const mix = require('laravel-mix');
|
||||||
|
|
||||||
require('laravel-mix-postcss-config');
|
require('laravel-mix-postcss-config');
|
||||||
require('laravel-mix-tailwind');
|
require('laravel-mix-tailwind');
|
||||||
require('laravel-mix-purgecss');
|
require('laravel-mix-purgecss');
|
||||||
/*
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
| Mix Asset Management
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
|
|
|
||||||
| Mix provides a clean, fluent API for defining some Webpack build steps
|
|
||||||
| for your Laravel application. By default, we are compiling the Sass
|
|
||||||
| file for the application as well as bundling up all the JS files.
|
|
||||||
|
|
|
||||||
*/
|
|
||||||
|
|
||||||
const tailwindcss = require('tailwindcss')
|
|
||||||
|
|
||||||
mix.js('resources/js/app.js', 'public/js')
|
mix.js('resources/js/app.js', 'public/js')
|
||||||
.sass('resources/sass/app.scss', 'public/css')
|
.extract();
|
||||||
|
|
||||||
|
mix.sass('resources/sass/app.scss', 'public/css')
|
||||||
.tailwind('./tailwind.config.js')
|
.tailwind('./tailwind.config.js')
|
||||||
.purgeCss({
|
.purgeCss({
|
||||||
enabled: mix.inProduction(),
|
enabled: mix.inProduction(),
|
||||||
folders: ['./resources'],
|
folders: ['./resources'],
|
||||||
extensions: ['php', 'js', 'vue']
|
extensions: ['php', 'js', 'vue']
|
||||||
});
|
});
|
||||||
|
|
||||||
|
mix.version();
|
||||||
|
mix.options({
|
||||||
|
processCssUrls: false,
|
||||||
|
});
|
||||||
|
|
||||||
|
if (! mix.inProduction()) {
|
||||||
|
mix.sourceMaps();
|
||||||
|
}
|
Reference in New Issue
Block a user