Closed
Description
This PR (#161) assumes that a postcss.config.js
will always be present. But isn't this file optional? In my project, I was configuring postcss using Webpack 1.0 syntax as mentioned in the Readme.
module.exports = {
module: {
loaders: [
{
test: /\.css$/,
loaders: [
…
'postcss-loader'
]
}
]
},
postcss: () => {
return [
require('precss'),
require('autoprefixer')
];
}
}
This works fine in v1.2.1, but breaks in v1.2.2 with the following error
No PostCSS Config found in /path/to/dir
This seems to be a breaking change and not support the Webpack 1.0 configuration model.
Metadata
Metadata
Assignees
Labels
No labels