Advertisement
Guest User

Untitled

a guest
Jan 21st, 2020
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. const path = require("path");
  2.  
  3. module.exports = async ({ config, mode }) => {
  4. config.module.rules.push({
  5. test: /\.css$/,
  6. use: [
  7. {
  8. loader: "postcss-loader",
  9. options: {
  10. ident: "postcss",
  11. plugins: [require("tailwindcss"), require("autoprefixer")]
  12. }
  13. }
  14. ],
  15. include: path.resolve(__dirname, "../")
  16. });
  17. return config;
  18. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement