From 0b339362ff52fe26ce45341249a469a08cc52a6d Mon Sep 17 00:00:00 2001 From: Jean Lauliac Date: Wed, 19 Apr 2017 08:36:45 -0700 Subject: [PATCH] packager: buck: fix messed up file types Reviewed By: cpojer Differential Revision: D4913706 fbshipit-source-id: 792d78e1baf7d9bea4eba90f791a1dc593087b55 --- packager/src/ModuleGraph/worker/transform-module.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packager/src/ModuleGraph/worker/transform-module.js b/packager/src/ModuleGraph/worker/transform-module.js index 488d982d9..970bfd4db 100644 --- a/packager/src/ModuleGraph/worker/transform-module.js +++ b/packager/src/ModuleGraph/worker/transform-module.js @@ -119,7 +119,7 @@ function transformJSON(json, options, callback) { file: filename, hasteID: value.name, transformed, - type: 'asset', + type: 'module', }; if (basename(filename) === 'package.json') { @@ -139,7 +139,7 @@ function transformAsset(data, options, callback) { file: options.filename, hasteID: null, transformed: {}, - type: 'module', + type: 'asset', }); }