ionic-team / ionic-team/rollup-plugin-node-polyfills

import/require with trailing slash not getting resolved

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
142
Forks
65
PR merge metrics
No merged PRs in 30d

Description

https://github.com/ionic-team/rollup-plugin-node-polyfills/blob/9b5fe1a9cafffd4871e6d65613ed224f807ea251/src/modules.ts#L65

I believe the intent was to remove the trailing slash and check in the map if the Polyfill exists
`importee === importee.slice(0, -1);` should have been `importee = importee.slice(0, -1);`

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.