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

Setting preset-env options? #127

Description

@marr

Hi, thanks for this plugin [collection]. I am trying to set the importFrom option for the preset-env plugin. Are those options set at the root, or is there a prefix that we need to know about?

My postcss.config.js looks like this:

import precss from 'precss';
const options = {
  importFrom: './variables.css',
}
module.exports = () => ({
  plugins: [precss(options)]
})

However, the css I'm compiling appears not to find the variables declared in variables.css.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions