tailwind.config.js 407 B

123456789101112131415161718
  1. const baseConfig = require('./client/tailwind.config');
  2. /**
  3. * Tailwind config file for Wagtail itself.
  4. */
  5. module.exports = {
  6. presets: [baseConfig],
  7. content: [
  8. './wagtail/**/*.{py,html,ts,tsx}',
  9. './wagtail/**/static_src/**/*.js',
  10. './client/**/*.{js,ts,tsx,mdx}',
  11. './docs/**/*.{md,rst}',
  12. ],
  13. corePlugins: {
  14. // Risk of clashing with existing styles.
  15. preflight: false,
  16. },
  17. };