| 1234567891011121314151617181920 |
- // eslint-disable-next-line
- import { defineConfig } from 'windicss/helpers';
- console.log(
- '\x1B[0;37;44m INFO \x1B[0m',
- '\x1B[0;;34m ' +
- `读取了: ${__filename.slice(__dirname.length + 1)}` +
- ' \x1B[0m'
- );
- export default defineConfig({
- darkMode: 'class', // or 'media'
- extract: {
- // A common use case is scanning files from the root directory
- include: ['**/*.{vue,html,jsx,tsx}'],
- // if you are excluding files, make sure you always include node_modules and .git
- exclude: ['node_modules', '.git', 'dist'],
- },
- });
|