packager: buck: fix messed up file types
Reviewed By: cpojer Differential Revision: D4913706 fbshipit-source-id: 792d78e1baf7d9bea4eba90f791a1dc593087b55
This commit is contained in:
parent
0001d3ce4e
commit
0b339362ff
|
@ -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',
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue