Last active
October 9, 2019 03:21
-
-
Save jjab2020/66af75904cdaeee5152f05da3a6f31e3 to your computer and use it in GitHub Desktop.
webpack configuration file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 your application, as well as bundling up your JS files. | |
| | |
*/ | |
mix.js('./src/app.js', './dist/').sass('./src/app.scss', './dist/'); | |
mix.setResourceRoot('../'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment