Skip to content

Commit

Permalink
Revert "fix .less file using tailwind @apply not working"
Browse files Browse the repository at this point in the history
  • Loading branch information
PeachScript authored Jan 11, 2024
1 parent 2afb3bc commit 547734f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/preset-umi/src/commands/generators/tailwindcss.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ export default (api: IApi) => {
});

h.setUmirc('tailwindcss', {});
const existingPlugins = api.config?.extraPostCSSPlugins || [];
h.setUmirc('extraPostCSSPlugins', ['tailwindcss', ...existingPlugins]);
h.appendInternalPlugin('@umijs/plugins/dist/tailwindcss');
logger.info('Update .umirc.ts');

Expand Down

0 comments on commit 547734f

Please sign in to comment.