Due to the way Webpack processes css files, you can no longer have a css file namedvendor
.
mix.css
. You can pass one file or an array of files.mix.css
accepts a configuration object as the second parameter:postcss.config.js
file to the root of your project, Elixir will process all of your styles through PostCSS. To learn more about PostCSS, visit their documentation.sass
method allows you to compile Sass into CSS. Assuming your Sass files are stored at resources/assets/sass
, you may use the method like so:css
method you may compile multiple Sass files into a single CSS file, and even customize the output directory of the resulting CSS: