Some checks failed
CI / Test (ubuntu-latest) (push) Has been cancelled
CI / Test (windows-latest) (push) Has been cancelled
CI / Lint (ubuntu-latest) (push) Has been cancelled
CI / Lint (windows-latest) (push) Has been cancelled
CI / Check (ubuntu-latest) (push) Has been cancelled
CI / Check (windows-latest) (push) Has been cancelled
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Has been cancelled
Deploy Website on push / Deploy Push Playground Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Docs Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Antd Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Element Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Naive Ftp (push) Has been cancelled
Release Drafter / update_release_draft (push) Has been cancelled
CI / CI OK (push) Has been cancelled
Deploy Website on push / Rerun on failure (push) Has been cancelled
16 lines
489 B
TypeScript
16 lines
489 B
TypeScript
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'] },
|
|
'postcss-import': {},
|
|
'postcss-preset-env': {},
|
|
tailwindcss: { config },
|
|
'tailwindcss/nesting': {},
|
|
},
|
|
};
|