diff options
author | Fbenas <philbeansburton@gmail.com> | 2020-09-20 22:08:03 +0100 |
---|---|---|
committer | Fbenas <philbeansburton@gmail.com> | 2020-09-20 22:08:03 +0100 |
commit | 9be73c2d0f21a539bc46974139e8c36c12845ca0 (patch) | |
tree | 3442d2254797983e7e0294c9aee00e90aa643109 /webpack.mix.js |
Initial commit
Diffstat (limited to 'webpack.mix.js')
-rw-r--r-- | webpack.mix.js | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/webpack.mix.js b/webpack.mix.js new file mode 100644 index 0000000..5b5d5cf --- /dev/null +++ b/webpack.mix.js @@ -0,0 +1,24 @@ +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.scripts( + [ + 'resources/js/component.js', + 'resources/js/gameArea.js', + 'resources/js/scene.js', + 'resources/js/app.js', + ], + 'public/js/app.js' +); + +mix.sass('resources/sass/app.scss', 'public/css') |