From e0e5a396febd3a71851af17f748ad780607bab1b Mon Sep 17 00:00:00 2001 From: Cody Olsen Date: Fri, 18 Sep 2020 14:50:53 +0200 Subject: [PATCH] chore: set the right defaults --- src/plugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugin.js b/src/plugin.js index 01965ba..f8db3f5 100644 --- a/src/plugin.js +++ b/src/plugin.js @@ -46,7 +46,7 @@ async function fetchImportMaps(urls = []) { // @TODO this could be a @eik/import-map-utils package async function getImportMap({ path: eikPath = path.join(process.cwd(), 'eik.json'), - urls, + urls = [], imports = {}, } = {}) { const mapping = new Map();