aboutsummaryrefslogtreecommitdiff
path: root/webpack.mix.js
diff options
context:
space:
mode:
Diffstat (limited to 'webpack.mix.js')
-rw-r--r--webpack.mix.js22
1 files changed, 5 insertions, 17 deletions
diff --git a/webpack.mix.js b/webpack.mix.js
index 24f767b..95a6ded 100644
--- a/webpack.mix.js
+++ b/webpack.mix.js
@@ -1,19 +1,7 @@
const mix = require('laravel-mix');
-/*
- |--------------------------------------------------------------------------
- | Mix Asset Management
- |--------------------------------------------------------------------------
- |
- | Mix provides a clean, fluent API for defining some Webpack build steps
- | for your Laravel applications. By default, we are compiling the CSS
- | file for the application as well as bundling up all the JS files.
- |
- */
-
-mix.js('resources/js/*.js', 'public/js')
- //.sass('resources/sass/*.sass', 'public/css')
- //.sass('resources/sass/*.scss', 'public/css')
- .postCss('resources/css/app.css', 'public/css', [
- //
- ]);
+mix.sass('resources/sass/app.scss', 'public/css').version()
+ .js('resources/js/app.js', 'public/js')
+ .extract(['lodash', 'axios', 'vue', 'jquery', 'popper.js', 'bootstrap'])
+ .sourceMaps()
+ .version();