]> git.localhorst.tv Git - alttp.git/blobdiff - webpack.mix.js
install bases system
[alttp.git] / webpack.mix.js
index 2a22dc1206aefa36f8f32a6839219094d7acd0c1..da460c6fe9733bf155917221afb4d3682efefb8a 100644 (file)
@@ -6,12 +6,13 @@ const mix = require('laravel-mix');
  |--------------------------------------------------------------------------
  |
  | Mix provides a clean, fluent API for defining some Webpack build steps
- | for your Laravel applications. By default, we are compiling the CSS
+ | 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')
-    .postCss('resources/css/app.css', 'public/css', [
-        //
-    ]);
+    .react()
+    .sass('resources/sass/app.scss', 'public/css')
+       .sourceMaps(true)
+       .version();