Skip to content
This repository has been archived by the owner on Apr 8, 2024. It is now read-only.

Commit

Permalink
fix(decorateClientConfig): Make config object optional (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
dborysiewicz committed Oct 26, 2017
1 parent ae9cc47 commit c66eaf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ const decorateServerConfig = (config, options) => {
});
}

const postcssPlugins = ({ cssSelectorPrefix }, autoprefixerConfig) =>
const postcssPlugins = ({ cssSelectorPrefix } = {}) =>
[require('autoprefixer')(autoprefixerConfig)]
.concat(!cssSelectorPrefix ? [] : [
require('postcss-prefix-selector')({
Expand Down

0 comments on commit c66eaf2

Please sign in to comment.