Skip to content

Fails to import under webpack 5 without config overrides because of missing .mjs in imports. #271

@kitsunde

Description

@kitsunde

I was trying to setup arquero with react, but it won't resolve because WebPack5 needs fullySpecified as the import paths both in arquero and in the current used version of apache-arrow do not import with .mjs file endings.

rules: [
  {
    test: /\.(js|mjs)$/,
    resolve: {
      fullySpecified: false
  }
  // ...
],

ref: webpack/webpack.js.org#3975

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