Skip to content

Allow configuring postcss-modules options #8

@dangerousdan

Description

@dangerousdan

Allow passing through config options to postcss-modules so that we can control:

  • The generate scope name
  • hashPrefix
  • locals convention
postcssModulesPlugin({
  generateScopedName: "[name]__[local]___[hash:base64:5]",
  hashPrefix: "prefix",
  localsConvention: 'camelCaseOnly'
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions