Skip to content

"TypeError: atVariables is not a function" with v0.2.0. #204

Closed
@ehoogeveen

Description

@ehoogeveen
  • Node.js version: v14.15.0 LTS
  • postcss-at-rules-variables version: v0.2.0

After updating to the new version I get the error TypeError: atVariables is not a function.
It appears that require('postcss-at-rules-variables') now returns an object ({ default: [Function: _default], postcss: true}) where other plugins return a function ([Function (anonymous)] { postcss: true }).

I can work around the problem by using atVariables['default']() instead, but I'm not sure what the side effects of that are, if any.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions