From 0108d76c4620eea95d914b29007502b6a4704a4c Mon Sep 17 00:00:00 2001 From: Christian Kaisermann Date: Thu, 21 Feb 2019 14:26:35 -0300 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20prevent=20css=20injection?= =?UTF-8?q?=20if=20emitCss=20is=20set=20to=20true?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.js b/index.js index 358778d5..7acb827d 100644 --- a/index.js +++ b/index.js @@ -131,6 +131,8 @@ module.exports = function(source, map) { if (!pluginOptions[option]) compileOptions[option] = options[option]; } + if (options.emitCss) compileOptions.css = false; + deprecatePreprocessOptions(options); options.preprocess.filename = compileOptions.filename;