Skip to content

[codemod] Fix jss-to-styled to support other export class, function etc.#28321

Merged
siriwatknp merged 1 commit intomui:masterfrom
jedwards1211:fix/28317
Sep 14, 2021
Merged

[codemod] Fix jss-to-styled to support other export class, function etc.#28321
siriwatknp merged 1 commit intomui:masterfrom
jedwards1211:fix/28317

Conversation

@jedwards1211
Copy link
Contributor

@jedwards1211 jedwards1211 commented Sep 13, 2021

fix #28317

@mui-pr-bot
Copy link

mui-pr-bot commented Sep 13, 2021

No bundle size changes (experimental)

Generated by 🚫 dangerJS against be0dae2

Copy link
Member

@siriwatknp siriwatknp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 This is awesome! thanks for your contribution.

@siriwatknp siriwatknp changed the title fix(jss-to-styled): don't crash on export class, function etc. [codemod] Fix jss-to-styled to support other export class, function etc. Sep 14, 2021
@siriwatknp siriwatknp added type: bug It doesn't behave as expected. package: codemod Specific to codemod. labels Sep 14, 2021
@siriwatknp siriwatknp merged commit 3c6c658 into mui:master Sep 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: codemod Specific to codemod. type: bug It doesn't behave as expected.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[jss-to-styled] codemod fails when an export type, export class, or export function statement is present

3 participants