From 13b250f16c58036e20bc5c2f57a1dcfd178fce56 Mon Sep 17 00:00:00 2001 From: Daniel Westendorf Date: Tue, 19 Jan 2021 16:02:52 -0700 Subject: [PATCH] Fix indentation of postcss-import require Fixes the indentation of `require('postcss-import')` to match the rest of the required plugins. --- lib/install/tailwindcss_with_webpacker.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/install/tailwindcss_with_webpacker.rb b/lib/install/tailwindcss_with_webpacker.rb index 1408fa5f..b0d398fb 100644 --- a/lib/install/tailwindcss_with_webpacker.rb +++ b/lib/install/tailwindcss_with_webpacker.rb @@ -13,7 +13,7 @@ say "Adding minimal configuration for Tailwind CSS to work properly" directory Pathname.new(__dir__).join("stylesheets"), Webpacker.config.source_path.join("stylesheets") -insert_into_file "postcss.config.js", "require('tailwindcss'),\n\t", before: "require('postcss-import')" +insert_into_file "postcss.config.js", "require('tailwindcss'),\n\t", before: " require('postcss-import')" if APPLICATION_LAYOUT_PATH.exist? say "Add Tailwindcss include tags in application layout"