Skip to content

Remove .mjs import workaround once fixed in Next.js #121

Open
@schickling

Description

@schickling

Let's remove this workaround once this issue is fixed: vercel/next.js#17806

// NOTE workaround for https://github.com/vercel/next.js/issues/17806#issuecomment-913437792
config.module.rules.push({
test: /\.m?js$/,
type: 'javascript/auto',
resolve: {
fullySpecified: false,
},
})

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions