Left file: appwork-v1_2_2/laravel-vue-starter/resources/assets/src/entry-point.js  
Right file: appwork-v1_3_0/laravel-vue-starter/resources/assets/src/entry-point.js  
1 // Polyfills = 1 // Polyfills
    <> 2 require('core-js/modules/es6.array.fill')
2 require('core-js/fn/symbol/iterator');   3 require('core-js/modules/es6.array.iterator')
      4 require('core-js/modules/es6.object.assign')
      5 require('core-js/modules/es6.object.keys')
      6 require('core-js/modules/es6.promise')
      7 require('core-js/modules/es6.string.includes')
3 require('core-js/es6/symbol');   8 require('core-js/modules/es6.symbol')
      9 require('core-js/modules/es7.array.includes')
4 require('core-js/es7/object');   10 require('core-js/modules/es7.object.entries')
5 require('core-js/es7/array');    11 require('core-js/modules/es7.promise.finally')
      12 require('core-js/modules/es7.symbol.async-iterator')
6   = 13  
7 /**   14 /**
8  * We'll load the axios HTTP library which allows us to easily issue requests   15  * We'll load the axios HTTP library which allows us to easily issue requests
9  * to our Laravel back-end. This library automatically handles sending the   16  * to our Laravel back-end. This library automatically handles sending the
10  * CSRF token as a header based on the value of the "XSRF" token cookie.   17  * CSRF token as a header based on the value of the "XSRF" token cookie.
11  */   18  */
12     19  
13 window.axios = require('axios');   20 window.axios = require('axios');
14     21  
15 window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';   22 window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';
16     23  
17 /**   24 /**
18  * Next we will register the CSRF Token as a common header with Axios so that   25  * Next we will register the CSRF Token as a common header with Axios so that
19  * all outgoing HTTP requests automatically have it attached. This is just   26  * all outgoing HTTP requests automatically have it attached. This is just
20  * a simple convenience so we don't have to attach every token manually.   27  * a simple convenience so we don't have to attach every token manually.
21  */   28  */
22     29  
23 let token = document.head.querySelector('meta[name="csrf-token"]');   30 let token = document.head.querySelector('meta[name="csrf-token"]');
24     31  
25 if (token) {   32 if (token) {
26   window.axios.defaults.headers.common['X-CSRF-TOKEN'] = token.content;   33   window.axios.defaults.headers.common['X-CSRF-TOKEN'] = token.content;
27 } else {   34 } else {
28   console.error('CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token');   35   console.error('CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token');
29 }   36 }
30     37  
31 /**   38 /**
32  * Echo exposes an expressive API for subscribing to channels and listening   39  * Echo exposes an expressive API for subscribing to channels and listening
33  * for events that are broadcast by Laravel. Echo and event broadcasting   40  * for events that are broadcast by Laravel. Echo and event broadcasting
34  * allows your team to easily build robust real-time web applications.   41  * allows your team to easily build robust real-time web applications.
35  */   42  */
36     43  
37 // import Echo from 'laravel-echo'   44 // import Echo from 'laravel-echo'
38     45  
39 // window.Pusher = require('pusher-js');   46 // window.Pusher = require('pusher-js');
40     47  
41 // window.Echo = new Echo({   48 // window.Echo = new Echo({
42 //     broadcaster: 'pusher',   49 //     broadcaster: 'pusher',
43 //     key: process.env.MIX_PUSHER_APP_KEY,   50 //     key: process.env.MIX_PUSHER_APP_KEY,
44 //     cluster: process.env.MIX_PUSHER_APP_CLUSTER,   51 //     cluster: process.env.MIX_PUSHER_APP_CLUSTER,
45 //     encrypted: true   52 //     encrypted: true
46 // });   53 // });
47     54  
48 /**   55 /**
49  * Load Vue.js app   56  * Load Vue.js app
50  */   57  */
51     58  
52 require('./main.js');   59 require('./main.js');