Spaces:
Sleeping
Sleeping
Download postcss.config.js from bradduy/edtechdemo: direct link, hf CLI and curl.
- Browser
- Download file 361 Bytes
-
https://huggingface.co/spaces/bradduy/edtechdemo/resolve/main/postcss.config.js
- Command line
-
hf download hf://spaces/bradduy/edtechdemo/postcss.config.js
-
curl -L -o postcss.config.js https://huggingface.co/spaces/bradduy/edtechdemo/resolve/main/postcss.config.js
361 Bytes
| // Please do not use the array form (like ['tailwindcss', 'postcss-preset-env']) | |
| // it will create an unexpected error: Invalid PostCSS Plugin found: [0] | |
| /** @type {import('postcss-load-config').Config} */ | |
| module.exports = { | |
| plugins: { | |
| tailwindcss: {}, | |
| autoprefixer: {}, | |
| ...(process.env.NODE_ENV === 'production' ? { cssnano: {} } : {}), | |
| }, | |
| }; | |