From decd9e03343b62f2de598bbdb2a51794b71176f0 Mon Sep 17 00:00:00 2001 From: Adam Wathan Date: Sat, 7 Oct 2017 11:36:56 -0400 Subject: [PATCH] Revert "Allow passing config as lazy-evaluated function" This reverts commit 1819cf67d3f24ebe055b4c54b4e037a6621b3734. --- src/index.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/index.js b/src/index.js index 94588336f..cfba43396 100644 --- a/src/index.js +++ b/src/index.js @@ -13,10 +13,6 @@ import substituteBreakpointAtRules from './lib/substituteBreakpointAtRules' import substituteClassApplyAtRules from './lib/substituteClassApplyAtRules' const plugin = postcss.plugin('tailwind', (options = {}) => { - if (_.isFunction(options)) { - options = options() - } - const config = mergeConfig(defaultConfig, options) return postcss([