aboutsummaryrefslogtreecommitdiff
path: root/webpack.mix.js
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2020-10-07 18:41:35 +0200
committerMateja <mail@matejamaric.com>2020-10-07 18:41:35 +0200
commitb981dc8715b36c83107de4c2868e3410a6faf457 (patch)
tree899a97261d0b901740cfbd949fc0839bb7a1e607 /webpack.mix.js
downloadyota-laravel-b981dc8715b36c83107de4c2868e3410a6faf457.tar.gz
yota-laravel-b981dc8715b36c83107de4c2868e3410a6faf457.zip
First commit
Diffstat (limited to 'webpack.mix.js')
-rw-r--r--webpack.mix.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/webpack.mix.js b/webpack.mix.js
new file mode 100644
index 0000000..2a22dc1
--- /dev/null
+++ b/webpack.mix.js
@@ -0,0 +1,17 @@
+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/app.js', 'public/js')
+ .postCss('resources/css/app.css', 'public/css', [
+ //
+ ]);