Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
607 changes: 607 additions & 0 deletions packages/babel-plugin-component-annotate/src/experimental.ts

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions packages/babel-plugin-component-annotate/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ interface JSXProcessingContext {
fragmentContext?: FragmentContext;
}

export { experimentalComponentNameAnnotatePlugin } from "./experimental";

// We must export the plugin as default, otherwise the Babel loader will not be able to resolve it when configured using its string identifier
export default function componentNameAnnotatePlugin({ types: t }: typeof Babel): AnnotationPlugin {
return {
Expand Down
Loading
Loading