diff --git a/lib/index.js b/lib/index.js index fb77b99d..c3b03fbc 100644 --- a/lib/index.js +++ b/lib/index.js @@ -51,12 +51,16 @@ module.exports = function loader (css, map) { Promise.resolve().then(() => { const length = Object.keys(options) - .filter((option) => { - // if (option === 'exec') return - if (option === 'config') return - if (option === 'sourceMap') return - - return option + .filter((option) => { + switch (option) { + // case 'exec': + case 'ident': + case 'config': + case 'sourceMap': + return + default: + return option + } }) .length