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',
45 'hoist-non-react-statics',
47 'html-parse-stringify',
49 'i18next-browser-languagedetector',
76 'react-lifecycles-compat',
77 'react-resize-detector',
79 'react-router-bootstrap',
82 'react-transition-group',
84 'regenerator-runtime',
85 'resize-observer-polyfill',
100 chunkFilename: 'js/[chunkhash].js',