summaryrefslogtreecommitdiff
path: root/site/webpack.mix.js
diff options
context:
space:
mode:
authorhorus_arch2018-02-07 18:07:53 +0100
committerhorus_arch2018-02-07 18:07:53 +0100
commit92eb8143762e116e8959f6270271fd5540ca50ac (patch)
treea9fdc5009b9816fb448431b24bac38f7a215d40d /site/webpack.mix.js
parent71950479fbd6088f249e5fda3b180f294d1d745d (diff)
downloadalkobote-92eb8143762e116e8959f6270271fd5540ca50ac.tar.gz
Adds basic site in laravel.
Diffstat (limited to 'site/webpack.mix.js')
-rw-r--r--site/webpack.mix.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/site/webpack.mix.js b/site/webpack.mix.js
new file mode 100644
index 0000000..72fdbb1
--- /dev/null
+++ b/site/webpack.mix.js
@@ -0,0 +1,15 @@
+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 the application as well as bundling up all the JS files.
+ |
+ */
+
+mix.js('resources/assets/js/app.js', 'public/js')
+ .sass('resources/assets/sass/app.scss', 'public/css');