diff --git a/lib/rollup.js b/lib/rollup.js index 090da0a..b60c312 100644 --- a/lib/rollup.js +++ b/lib/rollup.js @@ -65,7 +65,7 @@ module.exports = ({ reload, cacheDir = CACHE_DIR } = {}) => { } // We have never requested this before - const res = await fetch(url) + const res = await fetch(id) file = getFilePathFromURL(res.url) await httpCache.set(id, res.url) const content = await res.buffer().then(buff => buff.toString('utf8'))