Skip to content

Commit

Permalink
fix(index): filter ident (options.ident) (#315)
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-ciniawsky committed Nov 24, 2017
1 parent f33131c commit 3e1c7fa
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions lib/index.js
Expand Up @@ -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

Expand Down

0 comments on commit 3e1c7fa

Please sign in to comment.