Git Product home page Git Product logo

Comments (6)

jonathantneal avatar jonathantneal commented on July 23, 2024

This is a duplicate of #44.

There is an incomplete PR to resolve this issue at #46

The story can be worked on by anyone (with a failing test provided) at https://github.com/postcss/postcss-custom-media/tree/release/7.0.6

from postcss-custom-media.

emmenko avatar emmenko commented on July 23, 2024

Hmm are you sure it's the same issue?

But in general, from what I described, things should still be working right? Or do we need to change something from our side as well?
Thanks

from postcss-custom-media.

jonathantneal avatar jonathantneal commented on July 23, 2024

Your setup is a bit confusing. You use PostCSS Preset Env, which includes this plugin, but then you use this plugin. If you want to use it with PostCSS Preset Env, then you will also need to pass stage: 1 or stage: 0 (i.e.. postcssPresetEnv({ stage: 1 }) to get Custom Media to work.

from postcss-custom-media.

jonathantneal avatar jonathantneal commented on July 23, 2024

You had some queries that used the AND operator, and there was a bug in this. It has been fixed in PostCSS Custom Media v7.0.6 and PostCSS Preset Env v6.1.1. Would you please retest in that version?

from postcss-custom-media.

emmenko avatar emmenko commented on July 23, 2024

Hi Jonathan,

I tried several things:

  • to update all postcss deps to their latest versions
    • also with using { stage: 1 }
  • to update only postcss-custom-media to 7.0.6

...but I still get the same problem.

Only on version 6.0.0 things are working properly. Something in version 7 clearly stopped working but I'm not too familiar with the plugin and therefore can't say much where the problem might be.
Do you have any other suggestion?

from postcss-custom-media.

jonathantneal avatar jonathantneal commented on July 23, 2024

Unfortunately, I’ll need more information from you. Specifically, I’ll need you to make a tiny repo with the (please, the bare minimum) code required to reproduce this issue. Then I’ll check it out and look into it.

from postcss-custom-media.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.