diff --git a/src/index.js b/src/index.js index 5ad314939..7ccdb99a9 100644 --- a/src/index.js +++ b/src/index.js @@ -46,4 +46,8 @@ const plugin = postcss.plugin('tailwind', config => { ) }) +plugin.defaultConfig = function () { + throw new Error("`require('tailwindcss').defaultConfig()` is no longer a function, access it instead as `require('tailwindcss/defaultConfig')()`.") +} + module.exports = plugin