Skip to content
This repository was archived by the owner on May 5, 2024. It is now read-only.

Fix config file modification #11

Merged
merged 3 commits into from
Feb 22, 2021
Merged

Fix config file modification #11

merged 3 commits into from
Feb 22, 2021

Conversation

GrygrFlzr
Copy link
Contributor

  • Fixes missing tailwindcss invocation on Windows
  • Make sure to use tailwind.config.cjs

preset.ts Outdated
@@ -7,7 +7,7 @@ const globalCSS = `@tailwind base;
const addTailwind = (otherPlugins) => `plugins: [
// Some plugins, like postcss-nested, need to run before Tailwind

tailwindcss,
tailwindcss("./tailwind.config.cjs"),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you see a situation where this was needed? We undid this per #9.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, I missed that. No, that was under the assumption that it still needed it, will re-test without.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alright, reverted and dark mode definitely works without the explicit config file.

@babichjacob babichjacob merged commit ebb7315 into svelte-add:main Feb 22, 2021
@babichjacob
Copy link
Member

Thank you! 😃

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants