upd fixed
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user