mirror of
https://github.com/wagtail/wagtail.git
synced 2024-11-30 01:46:24 +01:00
3bf9b65c06
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
19 lines
403 B
JavaScript
19 lines
403 B
JavaScript
const baseConfig = require('./client/tailwind.config');
|
|
|
|
/**
|
|
* Tailwind config file for Wagtail itself.
|
|
*/
|
|
module.exports = {
|
|
presets: [baseConfig],
|
|
content: [
|
|
'./wagtail/**/*.{py,html,ts,tsx}',
|
|
'./wagtail/**/static_src/**/*.js',
|
|
'./client/**/*.{js,ts,tsx}',
|
|
'./docs/**/*.{md,rst}',
|
|
],
|
|
corePlugins: {
|
|
// Risk of clashing with existing styles.
|
|
preflight: false,
|
|
},
|
|
};
|