Update to Tailwind 3; support normal tailwind usage without twin.macro

This commit is contained in:
DaneEveritt 2022-06-05 14:34:29 -04:00
parent 21ca91abd0
commit 921da09a63
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
9 changed files with 1262 additions and 467 deletions

17
postcss.config.js Normal file
View file

@ -0,0 +1,17 @@
module.exports = {
plugins: [
require('postcss-import'),
// We want to make use of nesting following the CSS Nesting spec, and not the
// SASS style nesting.
//
// @see https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-nesting
require('tailwindcss/nesting')(require('postcss-nesting')),
require('tailwindcss'),
require('autoprefixer'),
require('postcss-preset-env')({
features: {
'nesting-rules': false,
},
}),
],
};