From fc0e99e598d7a0140843fc33427993f49b64d629 Mon Sep 17 00:00:00 2001 From: Adam Wathan Date: Fri, 17 Nov 2017 10:38:40 -0500 Subject: [PATCH] Fix style errors --- src/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 7ccdb99a9..9ab46f830 100644 --- a/src/index.js +++ b/src/index.js @@ -46,7 +46,8 @@ const plugin = postcss.plugin('tailwind', config => { ) }) -plugin.defaultConfig = function () { +plugin.defaultConfig = function() { + // prettier-ignore throw new Error("`require('tailwindcss').defaultConfig()` is no longer a function, access it instead as `require('tailwindcss/defaultConfig')()`.") }