Skip to content

mjs files get imported as static files #5234

Description

@jgoux

Hello,

Here is a repro :

importgraphql,{parse,buildASTSchema,buildClientSchema}from'graphql'console.log(graphql,parse,buildASTSchema,buildClientSchema)// ouput : /static/media/index.497f5ee2.mjs undefined undefined undefined

Excluding the .mjs extension from the file-loader fix the issue.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions