mirror of https://github.com/status-im/metro.git
packager: buck: fix messed up file types
Reviewed By: cpojer Differential Revision: D4913706 fbshipit-source-id: 792d78e1baf7d9bea4eba90f791a1dc593087b55
This commit is contained in:
parent
b721e8207e
commit
6bf0d16899
|
@ -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