Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transforms config API improvements #1266

Open
jorenbroekema opened this issue Jul 4, 2024 · 0 comments
Open

Transforms config API improvements #1266

jorenbroekema opened this issue Jul 4, 2024 · 0 comments
Labels
5.0 Might plan for v5 since it's breaking enhancement
Milestone

Comments

@jorenbroekema
Copy link
Collaborator

Before:

{
  platforms: {
    css: {
      transformGroup: 'css',
      transforms: ['name/kebab'],
      basePxFontSize: 14,
      files: [{}]
    }
  }
}

After:

{
  platforms: {
    css: {
      transformGroups: ['css'], // allow multiple
      transforms: ['name/kebab'],
      transformOptions: {
        basePxFontSize: 14,
      },
      files: [{}]
    }
  }
}

Up for discussion of course, just wanted to document the idea and track for v5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5.0 Might plan for v5 since it's breaking enhancement
Projects
None yet
Development

No branches or pull requests

1 participant