From 7d63480e402849542bdbbda44db570d4d1530daf Mon Sep 17 00:00:00 2001 From: Guillaume Lecomte Date: Mon, 17 Oct 2016 11:02:52 +0200 Subject: [PATCH] Add support for source maps in unbundled browser mode Mirrors changes in da1404e62bd89b252d8dee4445fc56bb44566ef5 to allow inline source maps in unbundled browser mode. Also fixes a bug that wasn't clearing previous CSS when hot reloading a CSS module. --- css-plugin-base.js | 45 +++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 41 insertions(+), 4 deletions(-) diff --git a/css-plugin-base.js b/css-plugin-base.js index 8a8ce77..aae97bf 100644 --- a/css-plugin-base.js +++ b/css-plugin-base.js @@ -57,14 +57,51 @@ CSSPluginBase.prototype.listAssets = function(loads, opts) { *