(cwd: string)
| 71 | } |
| 72 | |
| 73 | export async function setupPostcss(cwd: string) { |
| 74 | logger.info('init:postcss', `creating postcss config file: ${quote('postcss.config.cjs')}`) |
| 75 | |
| 76 | const content = outdent` |
| 77 | module.exports = { |
| 78 | plugins: { |
| 79 | '@pandacss/dev/postcss': {}, |
| 80 | }, |
| 81 | } |
| 82 | ` |
| 83 | |
| 84 | await fsExtra.writeFile(join(cwd, 'postcss.config.cjs'), content) |
| 85 | } |