Skip to content

Commit

Permalink
fix: Remove console.log (#196)
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelkraft authored and ScriptedAlchemy committed Jan 17, 2020
1 parent a0f7009 commit 954fd25
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 @@ -382,7 +382,7 @@ class ExtractCssChunksPlugin {
'}',
])
: '',
`var insert = ${insert}; console.log('insert',insert)`,
`var insert = ${insert};`,
`if (typeof insert === 'function') { insert(linkTag); }`,
`else { var target = document.querySelector(${insert}); target && insert === 'body' ? target && target.insertBefore(linkTag,target.firstChild) : target.appendChild(linkTag); } `,
]),
Expand Down

0 comments on commit 954fd25

Please sign in to comment.