Skip to content

Commit

Permalink
Fix override PurgeCSS "enabled" option (#59)
Browse files Browse the repository at this point in the history
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
  • Loading branch information
Se7en-IT and atinux authored Feb 6, 2020
1 parent 5d480cb commit aa12b43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ module.exports = async function (moduleOptions) {
if (purgeCSSEnabled) {
const purgeCSS = {
mode: 'postcss',
...(this.options.purgeCSS || {}),
enabled: purgeCSSEnabled
enabled: purgeCSSEnabled,
...(this.options.purgeCSS || {})
}
await this.requireModule(['nuxt-purgecss', purgeCSS])
}
Expand Down

0 comments on commit aa12b43

Please sign in to comment.