Open GSSwain opened 4 years ago
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);
importee === importee.slice(0, -1);
importee = importee.slice(0, -1);
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 beenimportee = importee.slice(0, -1);