Skip to content

Instantly share code, notes, and snippets.

@chrisjimallen
Created November 28, 2018 12:27
Show Gist options
  • Save chrisjimallen/68bd62b7f59f96f2743e63f7064c29c3 to your computer and use it in GitHub Desktop.
Save chrisjimallen/68bd62b7f59f96f2743e63f7064c29c3 to your computer and use it in GitHub Desktop.
let mix = require('laravel-mix')
mix.js([
'node_modules/bootstrap/dist/js/bootstrap.bundle.min.js',
'node_modules/skip-link-focus/skip-link-focus.min.js',
'node_modules/@fortawesome/fontawesome-free/js/regular.js',
'node_modules/@fortawesome/fontawesome-free/js/brands.js',
'node_modules/@fortawesome/fontawesome-free/js/fontawesome.js',
'src/js/app.js',
], './js/app.js')
.extract([
'bootstrap'
])
.sass('src/sass/app.scss', './css/app.css')
.minify([
'./css/app.css',
'./js/app.js',
'./js/manifest.js',
'./js/vendor.js'
])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment