I assume that postcss config should be project specific - and thus the config loading should search from cwd rather than from the file which has to be transpiled. Or maybe both strategies are valid, but they should be applied for different files - load for files within cwd, search for files outside of it (especially for files inside node_modules)
Without it monorepos with hoisted node_modules (lerna, yarn workspaces) have trouble time loading configs for files located inside node_modules
Related - cosmiconfig/cosmiconfig#166
I assume that postcss config should be project specific - and thus the config loading should search from cwd rather than from the file which has to be transpiled. Or maybe both strategies are valid, but they should be applied for different files -
loadfor files within cwd,searchfor files outside of it (especially for files insidenode_modules)Without it monorepos with hoisted node_modules (lerna, yarn workspaces) have trouble time loading configs for files located inside
node_modulesRelated - cosmiconfig/cosmiconfig#166