Files
skeleton/postcss.config.cjs
Adrian b15b909c2f Feat: Adding our CSS classes to Tailwind's intellisense (#673)
* transpiling all.css works

* added stylesheet back

* deleted grid to fix menu popping open because ???

* removed all.css

* added transpile to build script

* removed unneeded stuff

* doesn't bundle in production

* undo a bunch of stuff

* not needed

* forgot to remove this

* more fitting name for the plugin

* cleaned up

* Context comment added

* Append build script to dev command temporarily

* Added TW build step to dev script temporarily

* removed generated

* removed

Co-authored-by: endigo9740 <gundamx9740@gmail.com>
2023-01-09 12:37:25 -06:00

15 lines
340 B
JavaScript

const tailwindcss = require('tailwindcss');
const autoprefixer = require('autoprefixer');
const config = {
plugins: [
require('postcss-import'),
//Some plugins, like tailwindcss/nesting, need to run before Tailwind,
tailwindcss(),
//But others, like autoprefixer, need to run after,
autoprefixer
]
};
module.exports = config;