X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=webpack.mix.js;fp=webpack.mix.js;h=da460c6fe9733bf155917221afb4d3682efefb8a;hb=78ee3a45427e1227013773b2a1c19fc1ee0efc12;hp=2a22dc1206aefa36f8f32a6839219094d7acd0c1;hpb=4bf2dd1dd1f6d31b2ebe299b7495a8b0e259ec77;p=alttp.git diff --git a/webpack.mix.js b/webpack.mix.js index 2a22dc1..da460c6 100644 --- a/webpack.mix.js +++ b/webpack.mix.js @@ -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();