docs(misc): fix postcss.config.js to not depend on cwd (#17094)

This commit is contained in:
Jack Hsu 2023-05-18 15:34:47 -04:00 committed by GitHub
parent faba24995d
commit 15e21be9ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,8 +1,9 @@
const { join } = require('path');
module.exports = { module.exports = {
plugins: { plugins: {
'postcss-import': {}, 'postcss-import': {},
tailwindcss: { tailwindcss: {
config: './nx-dev/nx-dev/tailwind.config.js', config: join(__dirname, 'tailwind.config.js'),
}, },
autoprefixer: {}, autoprefixer: {},
}, },