Robin Malfait
6ed835cb71
Fix invalid arg type ( #3978 )
...
* default to `tailwind.css` file when no input is given
* skip undefined files
* update forgotten test fixtures
2021-04-06 00:12:52 +02:00
Nate Moore
e86b586f4b
Adds support for tailwind.config.cjs files ( #3181 )
...
* feat: automatically init and resolve tailwind.config.cjs files
* test: add tests for default tailwind.config.cjs resolution
* fix `cjsConfigFile` constant
* Fix JSDoc type of isModule
2021-02-07 14:50:21 -05:00
Adam Wathan
fd8bacd7ae
Add new color palette ( #2623 )
...
* Add new color palette
* Replace local require when scaffolding config
* Remove unused import
2020-10-19 20:18:53 -04:00
Adam Wathan
38b4eeb288
Prettier likes parens a lot now
...
git blame is now broken forever.
2020-10-16 15:39:44 -04:00
Adam Wathan
9065404f4d
Revert "Automatically add featureFlags.future flags to the configuration files whenever the init command is ran ( #2379 )"
...
This reverts commit f72158c87f2ac1b1357d856dd79567c4329b5525.
2020-10-16 14:53:21 -04:00
Dexter Marks-Barber
f72158c87f
Automatically add featureFlags.future flags to the configuration files whenever the init command is ran ( #2379 )
...
* Add --future flag to CLI
* Remove early exit
* Always add future flags but commented out
- Update replace regex
- Remove future CLI flag
- Update tests
2020-10-07 14:12:41 -04:00
Adam Wathan
1bc2fed3bd
Tweak help text
2020-08-22 08:40:24 -04:00
Robin Malfait
939346d8b3
add tailwind -p init option to generate a postcss file
2020-08-22 01:43:47 +02:00
Adam Wathan
8b08814103
Remove unused code
2020-07-28 08:23:01 -04:00
Adam Wathan
46dab3b0d4
Clearer messaging on building with no input file
2020-07-28 08:22:53 -04:00
Owen Melbourne
3febffdb55
Fixed some styling
2020-05-30 17:59:54 +01:00
Owen Melbourne
d833174b4e
Allowed the 'build' cli command to fallback to some defaults if no input file is specified.
2020-05-30 17:53:30 +01:00
Adam Wathan
ab52a8c082
Support purge: false, add more info to console warning
2020-05-01 08:25:45 -04:00
mattstypa
26e4007428
Few CLI tweaks
2019-03-20 08:17:56 -05:00
mattstypa
6d65dfb058
Removed no-comments option from init command
2019-03-15 09:15:16 -05:00
Matt Stypa
6c461706c6
Moved constants and used it for hardcoded paths
2019-03-15 07:08:34 -05:00
Matt Stypa
7ec4b11d73
Ripped out the code no longer needed
2019-03-14 20:24:31 -05:00
Matt Stypa
9e835e4546
Fixed failing tests and added additional coverage
2019-03-14 16:51:36 -05:00
mattstypa
92b3b0c0a1
Updated CLI init commend
2019-03-14 15:51:21 -05:00
Adam Wathan
db7f1e6728
Merge branch 'master' into next
2019-02-22 10:05:31 -05:00
Matt Stypa
84a571235c
Refactored the CLI build process to use configuration object instead of many arguments.
2019-02-04 21:42:27 -06:00
Adam Wathan
3d2a598c0e
Don't test for presence of defaultConfig in defaultConfig
2019-02-01 12:32:50 -05:00
Adam Wathan
2ee98f226a
Update fucking doc blocks
2018-11-05 08:53:51 -05:00
Adam Wathan
d8df647fa0
Add option to disable autoprefixer in CLI
2018-11-05 08:53:51 -05:00
mattstypa
34ad504a46
Added tests for CLI utils
2018-09-25 11:09:20 -05:00
Matt Stypa
dbeeea4dbb
Added ability to protect comments when --no-comments options is use for CLI init command
2018-09-24 21:12:07 -05:00
Matt Stypa
48387a8f8a
Switched to use strip-comments instead of Babel for CLI init command
2018-09-24 21:00:30 -05:00
mattstypa
9e26fd84e3
CLI. Added --no-comments option to init commend
2018-09-24 15:44:36 -05:00
Matt Stypa
eb4da80ede
Code style updates
2018-09-24 07:55:24 -05:00
Matt Stypa
1b1ae8abc9
When no output file is specified for the build command, the result will be piped to stdout
2018-09-23 22:00:50 -05:00
mattstypa
d91eea88fb
Reverted changes to processTailwindFeatures that would impact Webpack watch ability. As a result all commands also became Promise based
2018-09-14 11:07:23 -05:00
mattstypa
933b557e87
Code style fixes
2018-09-14 08:28:03 -05:00
Matt Stypa
6e448ea70a
Config stub path was incorrect
2018-09-14 06:46:16 -05:00
Matt Stypa
ad695e9c13
CLI tool will now print the correct usage information
2018-09-14 06:42:33 -05:00
Matt Stypa
b71cfe711e
CLI tool rewrite
2018-09-13 21:37:10 -05:00