Skip to content

Allow configuring postcss-modules options #8

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'
})

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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