Skip to content

Universal Webpack or universal Babel #1245

@sedubois

Description

@sedubois

As mentioned in #867 (comment) and #627 (comment), it sounds possible to use Webpack universally. There's e.g the universal-webpack package which might help, and this article gives some tips and an example.

If it can be done efficiently, having a universal Webpack sounds like a great way to reduce the complexity of the Next.js codebase and would allow users to load any Webpack plugin they need?

What's Next.js' team's opinion on this, does it make sense and should it be investigated?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions