From 452fa665b1d3de813e26397e3d4c52a5daa783a8 Mon Sep 17 00:00:00 2001 From: Brad Cornes Date: Tue, 6 Oct 2020 09:38:21 +0100 Subject: [PATCH] Add `default` interop to tailwindcss/plugin Fixes Skypack version of tailwindcss/plugin --- plugin.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin.js b/plugin.js index ec0f03b89..5ed54695e 100644 --- a/plugin.js +++ b/plugin.js @@ -1,3 +1,3 @@ -const createPlugin = require('./lib/util/createPlugin').default +const createPlugin = require('./lib/util/createPlugin') -module.exports = createPlugin +module.exports = (createPlugin.__esModule ? createPlugin : { default: createPlugin }).default