upd fixed

This commit is contained in:
2024-10-25 13:32:41 +05:00
parent 94efdfef72
commit 0fd6eb6fb3
38 changed files with 289 additions and 213 deletions
-7
View File
@@ -40,9 +40,6 @@ const config: Config = {
},
},
},
// corePlugins: {
// preflight: true,
// },
plugins: [
function ({ addBase }: { addBase: any }) {
const preflightStyles = postcss.parse(
@@ -52,10 +49,6 @@ const config: Config = {
),
);
preflightStyles.walkRules(rule => {
// rule.selector = rule.selector
// .split(',')
// .map(selector => `tailwind-preflight ${selector}`)
// .join(',');
rule.selector = '.no-tailwind-base ' + rule.selector;
});
addBase(preflightStyles.nodes);