packager: buck: fix messed up file types

Reviewed By: cpojer

Differential Revision: D4913706

fbshipit-source-id: 792d78e1baf7d9bea4eba90f791a1dc593087b55
This commit is contained in:
Jean Lauliac 2017-04-19 08:36:45 -07:00 committed by Facebook Github Bot
parent b721e8207e
commit 6bf0d16899
1 changed files with 2 additions and 2 deletions

View File

@ -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',
});
}