Adam Wathan
0751431658
Remove useless variable
2017-11-26 14:56:39 -05:00
Adam Wathan
df8d80fbbf
Defer unwrapping config until actually evaluating the config() function
2017-11-26 14:53:30 -05:00
David Hemphill
79a2bb39e5
Reformat files
2017-11-06 15:02:02 -05:00
David Hemphill
9dbf5881cd
fix eslint issues
2017-11-06 15:00:55 -05:00
David Hemphill
ec607968cf
Add ESLinting and Prettier formatting and run an initial format on the codebase
2017-11-06 15:00:00 -05:00
Adam Wathan
c7061e9228
Support default values in config function
...
Also add a bunch of tests, seems probably wise :)
2017-11-06 10:32:17 -05:00
Adam Wathan
b2b95d5738
Register config file with Webpack for watching
...
This change tells Webpack (for those using it) that the config file
used should be tracked as a dependency and that the CSS should be
re-compiled if that config file changes.
It's careful to make sure the config file is loaded fresh every single
time to avoid weird caching issues.
2017-11-03 09:54:15 -04:00
Jonathan Reinink
96e9e67592
Rename tailwind() method to config()
...
Add basic tests for config(), @response and @apply.
2017-10-30 13:50:37 -04:00
Adam Wathan
ba04169e4e
Add support for "tailwind" function to look up config values
2017-10-09 10:42:19 -04:00