about summary refs log tree commit diff
path: root/laravel/webpack.mix.js
diff options
context:
space:
mode:
authorZach DeCook <zachdecook@gmail.com>2018-12-26 09:52:37 -0500
committerZach DeCook <zachdecook@gmail.com>2018-12-26 09:52:37 -0500
commit77f1076c15fbb8bf826a58cb2d556801a82a81ee (patch)
tree2d8dd905708c9bafe397aed4dbb7d03a644b48cb /laravel/webpack.mix.js
parentd034708620b528d08bc8c4750439f84de484bc4a (diff)
downloadprosongsa-77f1076c15fbb8bf826a58cb2d556801a82a81ee.tar.gz
- Add laravel site directories
Diffstat (limited to 'laravel/webpack.mix.js')
-rw-r--r--laravel/webpack.mix.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/laravel/webpack.mix.js b/laravel/webpack.mix.js
new file mode 100644
index 0000000..19a48fa
--- /dev/null
+++ b/laravel/webpack.mix.js
@@ -0,0 +1,15 @@
+const 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 the application as well as bundling up all the JS files.
+ |
+ */
+
+mix.js('resources/js/app.js', 'public/js')
+   .sass('resources/sass/app.scss', 'public/css');