d3819a6a88
After some major debugging once again, I've concluded that the previous webpack.mix.js worked fine, but threw an error when minifying the app.js file. The culprit is because the current app.js contains some newer ECMAScript code that needs to be translated. However, with the current inclusion of huebee.js into the samme command, it seems to mess things up. Just as a potensial fix for now is to just ignore the issue, and have a stab at it at a later date. This reverts the "fixes" I've made before.
19 lines
674 B
JavaScript
Vendored
19 lines
674 B
JavaScript
Vendored
let mix = require('laravel-mix');
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| 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.
|
|
|
|
|
*/
|
|
|
|
mix.scripts([
|
|
//'resources/assets/js/jquery-ui.min.js',
|
|
'resources/assets/js/huebee.js',
|
|
'resources/assets/js/app.js'
|
|
], 'public/js/app.js')
|
|
.sass('resources/assets/sass/app.scss', 'public/css').version();
|