Skip to content

I'm using Astro. Being able to use importFrom was a big deal. What is the workaround besides not upgrading to postcss-preset-env v8? #834

Closed
@romainmenke

Description

@romainmenke
          I'm using Astro. Being able to use `importFrom` was a big deal. What is the workaround besides not upgrading to postcss-preset-env v8? 

My postcss config:

const postcssPresetEnv = require("postcss-preset-env");

module.exports = {
  plugins: [
    postcssPresetEnv({
      stage: 0,
      features: {
        "custom-media-queries": {
          importFrom: ["./src/styles/common/queries.css"],
        },
      },
      autoprefixer: true
    })
};

Originally posted by @djmtype in #822 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions