Skip to content

Breaking change after updating to 1.8.x (from 1.7.5) #2354

Description

@AlexanderOpran

We have an Angular 10 project in which we are using TailwindCSS and we are also using resolveConfig. After updating to 1.8 we are getting a critical breaking change error (Uncaught ReferenceError: global is not defined). We have narrowed this down to the usage of the resolveConfig (if we do not use resolveConfig everything works fine even on 1.8). The error itself seems to be somehow related to the postcss-selector-parser package.

We can do a temporary workaround using things like:

(window as any).global = window;

in polyfills.ts but nevertheless, I do not think this should be an issue.

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