Skip to content

Fixes invalid module field in package.json#75

Open
bpow wants to merge 1 commit intoautarc:masterfrom
bpow:patch-1
Open

Fixes invalid module field in package.json#75
bpow wants to merge 1 commit intoautarc:masterfrom
bpow:patch-1

Conversation

@bpow
Copy link
Copy Markdown

@bpow bpow commented Feb 14, 2022

module referred to src/index.js, which does not exist. Point to lib/index.js instead.

Without fixing this, tools like rollup would give an error when trying to include as part of
a bundle. Alternatively, could probably just remove the module field entirely (since it is
the same as main in this case)

`module` referred to `src/index.js`, which does not exist. Point to `lib/index.js` instead.

Without fixing this, tools like rollup would give an error when trying to include as part of
a bundle. Alternatively, could probably just remove the `module` field entirely (since it is
the same as `main` in this case)
@xiemms
Copy link
Copy Markdown

xiemms commented Feb 14, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants