Skip to content

Conversation

@adamwathan
Copy link
Member

This PR moves the source files we use to generate our dist files to the root of the project so that it's a bit more ergonomic to import them using postcss-import.

Previously, you'd need to do this:

@import "tailwindcss/css/preflight";
@import "tailwindcss/css/components";
@import "tailwindcss/css/utilities";

Now you can omit the css directory in the middle:

@import "tailwindcss/preflight";
@import "tailwindcss/components";
@import "tailwindcss/utilities";

Small change but something about it feels a lot nicer for folks using postcss-import. Feels less like you are reaching deep into the internals of the framework and depending on folder structure that isn't really "public API".

@adamwathan adamwathan merged commit 055e3ee into 0.5 Mar 13, 2018
@adamwathan adamwathan deleted the root-css-files branch March 13, 2018 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants