Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const path = require("path");
- module.exports = async ({ config, mode }) => {
- config.module.rules.push({
- test: /\.css$/,
- use: [
- {
- loader: "postcss-loader",
- options: {
- ident: "postcss",
- plugins: [require("tailwindcss"), require("autoprefixer")]
- }
- }
- ],
- include: path.resolve(__dirname, "../")
- });
- return config;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement