require('./app.js')
require('@fortawesome/fontawesome-free/js/all')
window.Chart = require('chart.js/dist/Chart.min.js')
require('./mystyles.scss')

require('./app.js')
require('@fortawesome/fontawesome-free/js/all')
window.Chart = require('chart.js')
require('./mystyles.scss')

Change reference