Skip to content

export and require() together #129

@benatkin

Description

@benatkin

https://github.com/windicss/docs/blob/main/plugins/official/typography.md

Is there a commonly used configuration where export default and require work together?

export default {
  theme: {
    // ...
  },
  plugins: [
    require('windicss/plugin/typography'),
    // ...
  ],
}

If this is indeed incorrect & should be changed to import them at the top, I can search for this and make a PR to change it in other places as well as here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions