2024-05-19 13:20:42 +00:00
|
|
|
import config from '.';
|
|
|
|
|
|
|
|
export default {
|
|
|
|
plugins: {
|
|
|
|
...(process.env.NODE_ENV === 'production' ? { cssnano: {} } : {}),
|
|
|
|
// Specifying the config is not necessary in most cases, but it is included
|
|
|
|
autoprefixer: {},
|
|
|
|
// 修复 element-plus 和 ant-design-vue 的样式和tailwindcss冲突问题
|
|
|
|
'postcss-antd-fixes': { prefixes: ['ant', 'el'] },
|
2024-05-28 15:53:15 +00:00
|
|
|
'postcss-import': {},
|
2024-05-19 13:20:42 +00:00
|
|
|
'postcss-preset-env': {},
|
|
|
|
tailwindcss: { config },
|
2024-05-28 15:53:15 +00:00
|
|
|
'tailwindcss/nesting': {},
|
2024-05-19 13:20:42 +00:00
|
|
|
},
|
|
|
|
};
|