Skip to content

Support swc #1

@jesstelford

Description

@jesstelford

The current version of next-layout-loader requires babel-plugin-codegen & babel-plugin-preval, leading to Next.js opting out of optimisations available from swc.

Ideally, there would be a way to perform code generation in an swc plugin, but I don't know how to do that.

All help is appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions