Meteor-Community-Packages / Meteor-Community-Packages/meteor-postcss

Support for Meteor 3

Open
#63 3 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
66
Forks
22
PR merge metrics
No merged PRs in 30d

Description

I'm trying to add Tailwind to my Meteor 3 app. If first tried to do it as described here:

https://tailwindcss.com/docs/installation/framework-guides/meteor

However, this resulted in frequent crashes of the standard-minifier. This seems to happen on hot-module reload. So I looked up what Meteor recommended for Tailwind and found this PostCSS package.

The official package, however, conflicts with Meteor 3:

```
While selecting package versions:
error: Conflict: Constraint minifier-css@1.3.1 is not satisfied by minifier-css 2.0.0.
Constraints on package "minifier-css":
* minifier-css@~2.0.0 <- top level
* minifier-css@1.3.1 <- juliancwirko:postcss 2.0.5
```

So I am asking myself, which version I should use - and if this minifier is needed for Tailwind support in the first place? What is the recommended setup in this case?

Contributor guide

Open the contributing guide

Research direction

No files or tests are named. Start by reproducing the Meteor 3 dependency conflict and the standard-minifier hot-module-reload crash using the configurations described in the issue. Done means a documented or implemented Meteor 3 setup that resolves the package versions and avoids the reported crashes.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, javascript, tailwindcss
Domain
build-system, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.