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 коммит произвёл Facebook Github Bot
Родитель 0001d3ce4e
Коммит 0b339362ff
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

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