Open dolbex opened 6 years ago
Same issue here, haven't found a solution yet. Anything new on that?
You'll probably need to figure out a way to create a webpack configuration that lets you point explicitly to two separate PostCSS configuration files. Looks like you can change the config path here: https://github.com/postcss/postcss-loader#options
I've managed to get two tailwind configs working using two webpack.mix files and the laravel-mix-merge-manifest package. But I will have a look at the PostCSS configuration. Thanks!
Based on this discussion @adamwathan stated that two tailwind configurations are definitely possible in a custom webpack config. I don't see a clear way of adding two configs to the
postcss.config.js
. Is there some way I could add it to the webpack config directly?Specifically, I have two .scss files I want to output to css using two different configurations.