Skip to content

Commit 13b250f

Browse files
Fix indentation of postcss-import require
Fixes the indentation of `require('postcss-import')` to match the rest of the required plugins.
1 parent 2c509fd commit 13b250f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/install/tailwindcss_with_webpacker.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
say "Adding minimal configuration for Tailwind CSS to work properly"
1414
directory Pathname.new(__dir__).join("stylesheets"), Webpacker.config.source_path.join("stylesheets")
1515

16-
insert_into_file "postcss.config.js", "require('tailwindcss'),\n\t", before: "require('postcss-import')"
16+
insert_into_file "postcss.config.js", "require('tailwindcss'),\n\t", before: " require('postcss-import')"
1717

1818
if APPLICATION_LAYOUT_PATH.exist?
1919
say "Add Tailwindcss include tags in application layout"

0 commit comments

Comments
 (0)