Skip to content

Commit

Permalink
Possible fix for threepointone#374
Browse files Browse the repository at this point in the history
  • Loading branch information
penx committed Mar 22, 2018
1 parent e69545e commit 26d8561
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ function build(dest, { selector = '', mq = '', supp = '', src = {} }) {
src = flatten(src)

src.forEach(_src => {
if(isLikeRule(_src)) {
if(isLikeRule(_src) && idFor(_src) !== 'nil') {
let reg = _getRegistered(_src)
if(reg.type !== 'css') { throw new Error('cannot merge this rule') }
_src = reg.style
Expand Down

0 comments on commit 26d8561

Please sign in to comment.