Skip to content

Commit 3e1c7fa

Browse files
fix(index): filter ident (options.ident) (#315)
1 parent f33131c commit 3e1c7fa

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

lib/index.js

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,16 @@ module.exports = function loader (css, map) {
5151

5252
Promise.resolve().then(() => {
5353
const length = Object.keys(options)
54-
.filter((option) => {
55-
// if (option === 'exec') return
56-
if (option === 'config') return
57-
if (option === 'sourceMap') return
58-
59-
return option
54+
.filter((option) => {
55+
switch (option) {
56+
// case 'exec':
57+
case 'ident':
58+
case 'config':
59+
case 'sourceMap':
60+
return
61+
default:
62+
return option
63+
}
6064
})
6165
.length
6266

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy