Upgrade to Laravel Mix 6 (#12421)
This commit is contained in:
parent
2753d6fbb4
commit
d7e88bf311
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1 +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()}([]);
|
||||
(()=>{"use strict";var e={},r={};function t(n){if(r[n])return r[n].exports;var o=r[n]={id:n,loaded:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}t.m=e,t.x=e=>{},t.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return t.d(r,{a:r}),r},t.d=(e,r)=>{for(var n in r)t.o(r,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},t.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e={929:0},r=[],n=e=>{},o=(o,l)=>{for(var a,i,[u,d,f,p]=l,s=0,h=[];s<u.length;s++)i=u[s],t.o(e,i)&&e[i]&&h.push(e[i][0]),e[i]=0;for(a in d)t.o(d,a)&&(t.m[a]=d[a]);for(f&&f(t),o&&o(l);h.length;)h.shift()();return p&&r.push.apply(r,p),n()},l=self.webpackChunk=self.webpackChunk||[];function a(){for(var n,o=0;o<r.length;o++){for(var l=r[o],a=!0,i=1;i<l.length;i++){var u=l[i];0!==e[u]&&(a=!1)}a&&(r.splice(o--,1),n=t(t.s=l[0]))}return 0===r.length&&(t.x(),t.x=e=>{}),n}l.forEach(o.bind(null,0)),l.push=o.bind(null,l.push.bind(l));var i=t.x;t.x=()=>(t.x=i||(e=>{}),(n=a)())})(),t.x()})();
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,52 @@
|
|||
/*!
|
||||
* Vue.js v2.6.12
|
||||
* (c) 2014-2020 Evan You
|
||||
* Released under the MIT License.
|
||||
*/
|
||||
|
||||
/*!
|
||||
* vue-i18n v8.22.2
|
||||
* (c) 2020 kazuya kawaguchi
|
||||
* 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
|
||||
*/
|
||||
|
||||
/**!
|
||||
* @fileOverview Kickass library to create and place poppers near their reference elements.
|
||||
* @version 1.16.1
|
||||
* @license
|
||||
* Copyright (c) 2016 Federico Zivolo and contributors
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in all
|
||||
* copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
/**!
|
||||
* Sortable 1.10.2
|
||||
* @author RubaXa <trash@rubaxa.org>
|
||||
* @author owenm <owen23355@gmail.com>
|
||||
* @license MIT
|
||||
*/
|
|
@ -1,26 +1,13 @@
|
|||
{
|
||||
"/js/app.js": "/js/app.js?id=0196277fbccfc45c4c45",
|
||||
"/css/app.css": "/css/app.css?id=40eaf7d24318087f5384",
|
||||
"/js/manifest.js": "/js/manifest.js?id=3c768977c2574a34506e",
|
||||
"/js/vendor.js": "/js/vendor.js?id=e253a3679d1af23fcafb",
|
||||
"/js/lang/ar.js": "/js/lang/ar.js?id=867496e0e07ff6097886",
|
||||
"/js/app.js": "/js/app.js?id=50f7cb634569cc8bce2c",
|
||||
"/js/manifest.js": "/js/manifest.js?id=411da0f32dfa6d682e04",
|
||||
"/css/app.css": "/css/app.css?id=996b9e3da0c3ab98067e",
|
||||
"/js/vendor.js": "/js/vendor.js?id=54e44dd06cb8f6a3e6fe",
|
||||
"/js/lang/de.js": "/js/lang/de.js?id=2c4ad02fa89b684d4f57",
|
||||
"/js/lang/en.js": "/js/lang/en.js?id=bd8b8dca7021ad041f0e",
|
||||
"/js/lang/es.js": "/js/lang/es.js?id=56158b47981e04b2eb54",
|
||||
"/js/lang/et.js": "/js/lang/et.js?id=052eaaf24ae9a72474ff",
|
||||
"/js/lang/fa.js": "/js/lang/fa.js?id=dc8b8eaf5c45ca5f1872",
|
||||
"/js/lang/fr.js": "/js/lang/fr.js?id=9552304f4fd7338af018",
|
||||
"/js/lang/gr.js": "/js/lang/gr.js?id=5c68b99a4e926052dce1",
|
||||
"/js/lang/id.js": "/js/lang/id.js?id=6c3ef97eeb2cd2818885",
|
||||
"/js/lang/it.js": "/js/lang/it.js?id=514765c5399ffaa111b9",
|
||||
"/js/lang/nl.js": "/js/lang/nl.js?id=052c04cc5d1f408fcf55",
|
||||
"/js/lang/pl.js": "/js/lang/pl.js?id=0cca1dde319e96cac73d",
|
||||
"/js/lang/pt-br.js": "/js/lang/pt-br.js?id=cf9e6e0244e1a17fddf1",
|
||||
"/js/lang/pt.js": "/js/lang/pt.js?id=38b658d49f91c95b2566",
|
||||
"/js/lang/ro.js": "/js/lang/ro.js?id=55032462a25b893fa186",
|
||||
"/js/lang/ru.js": "/js/lang/ru.js?id=f6b7c078755312a0907c",
|
||||
"/js/lang/th.js": "/js/lang/th.js?id=3d5d6b9874b3ea673b3f",
|
||||
"/js/lang/tr.js": "/js/lang/tr.js?id=3efb8acaa5f97cc4013d",
|
||||
"/js/lang/uk.js": "/js/lang/uk.js?id=c19a5dcee4724579cb41",
|
||||
"/js/lang/zh-CN.js": "/js/lang/zh-CN.js?id=68da151165752f2e7983",
|
||||
"/js/lang/zh-TW.js": "/js/lang/zh-TW.js?id=69f27405927f6e708f84"
|
||||
|
|
File diff suppressed because it is too large
Load Diff
18
package.json
18
package.json
|
@ -2,27 +2,29 @@
|
|||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "npm run development",
|
||||
"development": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --config=node_modules/laravel-mix/setup/webpack.config.js",
|
||||
"watch": "npm run development -- --watch",
|
||||
"watch-poll": "npm run watch -- --watch-poll",
|
||||
"watch-production": "npm run production -- --watch --progress",
|
||||
"development": "mix",
|
||||
"watch": "mix watch",
|
||||
"watch-poll": "mix watch -- --watch-options-poll=1000",
|
||||
"watch-production": "mix watch --production",
|
||||
"watch-prod": "npm run watch-production",
|
||||
"hot": "cross-env NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --disable-host-check --config=node_modules/laravel-mix/setup/webpack.config.js",
|
||||
"hot": "mix watch --hot",
|
||||
"prod": "npm run production",
|
||||
"production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --config=node_modules/laravel-mix/setup/webpack.config.js"
|
||||
"production": "mix --production"
|
||||
},
|
||||
"devDependencies": {
|
||||
"axios": "^0.21.1",
|
||||
"bootstrap": "^4.5.3",
|
||||
"cross-env": "^5.2.1",
|
||||
"jquery": "^3.5.1",
|
||||
"laravel-mix": "^5.0.9",
|
||||
"laravel-mix": "^6.0.6",
|
||||
"lodash": "^4.17.20",
|
||||
"popper.js": "^1.16.1",
|
||||
"postcss": "^8.2.2",
|
||||
"resolve-url-loader": "^3.1.2",
|
||||
"sass": "^1.29.0",
|
||||
"sass-loader": "^7.3.1",
|
||||
"sass-loader": "^10.1.0",
|
||||
"vue": "^2.6.12",
|
||||
"vue-loader": "^15.9.6",
|
||||
"vue-template-compiler": "^2.6.12"
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
require('./bootstrap');
|
||||
|
||||
window.Vue = require('vue');
|
||||
window.Vue = require('vue').default;
|
||||
import { i18n } from "./plugins/i18n.js"; // translation
|
||||
|
||||
/**
|
||||
|
|
|
@ -13,6 +13,7 @@ const mix = require('laravel-mix');
|
|||
|
||||
mix.setPublicPath('html/')
|
||||
.js('resources/js/app.js', 'js')
|
||||
.vue()
|
||||
.sass('resources/sass/app.scss', 'css')
|
||||
.extract()
|
||||
.version('html/js/lang/*.js');
|
||||
|
|
Loading…
Reference in New Issue