Skip to content

type: 'module' or format: 'esm' should not require dependencies #1104

@whizzzkid

Description

@whizzzkid

Describe the bug
Relates to #1096

dependencies should not be required for transpiled ES Modules. This practice is acceptable, e.g. https://github.com/standard-things/esm/blob/master/package.json

Currently the build breaks: https://github.com/ipfs-shipyard/ipfs-geoip/actions/runs/3381199541/jobs/5614844080

Workaround:

  dependencyCheck: {
    input: [
      'dist/**/*.js',
    ],
    productionInput: [
      'dist/**/*.js',
    ],
  },

Metadata

Metadata

Assignees

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