ipfs / ipfs/aegir

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

Open
#1,104 2 comments 0 reactions 1 assignee Claimed by @whizzzkid View on GitHub
Dominant language
JavaScript
Stars
105
Forks
62
PR merge metrics
No merged PRs in 30d

Description

**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:

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.