Skip to content

export and require() together #129

Open
@benatkin

Description

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

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