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