fix: remove postcss.config from schema (#9181)

This commit is contained in:
Nathan Chase 2022-11-19 08:49:37 -05:00 committed by GitHub
parent d2ead6ff3d
commit 13e4f8b679
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 14 deletions

View File

@ -4,10 +4,6 @@ import { defineUntypedSchema } from 'untyped'
export default defineUntypedSchema({
postcss: {
/** Path to postcss config file. */
/** @type string | false */
config: false,
/**
* Options for configuring PostCSS plugins.
*

View File

@ -60,16 +60,6 @@ export const getPostcssConfig = (nuxt: Nuxt) => {
return false
}
const configFile = nuxt.options.postcss.config
if (configFile) {
return {
postcssOptions: {
config: configFile
},
sourceMap: nuxt.options.webpack.cssSourceMap
}
}
let postcssOptions = cloneDeep(nuxt.options.postcss)
// Apply default plugins
if (isPureObject(postcssOptions)) {