fetch-wrap icon indicating copy to clipboard operation
fetch-wrap copied to clipboard

es6 feature in middleware

Open lhtdesignde opened this issue 7 years ago • 1 comments

Hi, I'm having a problem serving my webpack bundle to older browsers. I'm using your library but because of one little "const" in middleware.js it breaks. https://github.com/benjamine/fetch-wrap/blob/91faed95f7f544064e18474bf197d9204c04734e/src/middleware.js#L150

Would it be possible to replace "const" here with var?

lhtdesignde avatar Jan 11 '18 15:01 lhtdesignde

Thanks for merging it in!

lhtdesignde avatar Feb 12 '18 07:02 lhtdesignde