Skip to content

Commit ca83177

Browse files
authored
Fix indentation for require in postcss.config.js
The way it was before my change added an unexpected tab character and started the "require" at the wrong indentation level.
1 parent 8a43731 commit ca83177

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 ", 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)