1 const mix = require('laravel-mix');
4 |--------------------------------------------------------------------------
6 |--------------------------------------------------------------------------
8 | Mix provides a clean, fluent API for defining some Webpack build steps
9 | for your Laravel application. By default, we are compiling the Sass
10 | file for the application as well as bundling up all the JS files.
14 mix.js('resources/js/index.js', 'public/js')
16 .sass('resources/sass/app.scss', 'public/css')
19 '@fortawesome/fontawesome-free',
20 '@fortawesome/fontawesome-svg-core',
21 '@fortawesome/free-brands-svg-icons',
22 '@fortawesome/free-solid-svg-icons',
23 '@fortawesome/react-fontawesome',
34 'i18next-browser-languagedetector',
50 'react-lifecycles-compat',
51 'react-resize-detector',
53 'react-router-bootstrap',
56 'react-transition-group',
58 'regenerator-runtime',
59 'resize-observer-polyfill',
72 //if (mix.inProduction()) {
75 chunkFilename: 'js/chunks/[name].[chunkhash].js',
79 // mix.webpackConfig({
81 // asyncChunks: false,