From 9accc9267b5b44029e0342f86d209c21ee010ebd Mon Sep 17 00:00:00 2001 From: Steel Brain Date: Mon, 10 Sep 2018 00:46:53 -0700 Subject: [PATCH] :new: Inherit importer's meta --- packages/pundle-api/src/context/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/pundle-api/src/context/index.js b/packages/pundle-api/src/context/index.js index 9aa07c0b..0d3ebbcc 100644 --- a/packages/pundle-api/src/context/index.js +++ b/packages/pundle-api/src/context/index.js @@ -139,7 +139,7 @@ export default class Context { // TODO: Inject loc into errors? // eslint-disable-next-line no-unused-vars resolve(request: string, loc: ?Loc = null, specified: boolean = true) { - return worker.resolve({ request, requestFile: filePath, ignoredResolvers: [], meta: { specified } }) + return worker.resolve({ request, requestFile: filePath, ignoredResolvers: [], meta: { ...meta, specified } }) }, async addImport(fileImport) { try {