[3.x] Incompatible with Microsoft Edge
Closed this issue · 2 comments
joncursi commented
When I invoke normalizeUrl(...)
on Microsoft edge, I get the following error:
TypeError: Unable to get property 'keys' of undefined or null reference
I believe this is caused by the following line:
Line 88 in f8245ac
Downgrading to 2.0.1
is my temporary work-around for the issue.
Kikobeats commented
You can target properly the library transpiling it using babel
sindresorhus commented
This module mainly targets Node.js, not the browser. It's up to you to transpile it with Babel if you want to use it in the browser. You can find a more detailed explanation here: sindresorhus/ama#446
If you use Webpack, check out babel-engine-plugin
, which transpiles only the dependencies that needs to be transpiled.