mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Move asset related modules into metro-buck
Summary: These files are some of the few standalone files from the `local-cli` that are used internally. This diff copies them into the one place where they are used. Note that I am leaving the old files in `local-cli`. Even if they are unused, moving them would break flow (require module verification). This diff also moves the `assetPathUtils` file into `Libraries/Image`, which is where it is used. This was previously part of D13337412 but I had to squash them to make buck happy. Reviewed By: TheSavior Differential Revision: D13337304 fbshipit-source-id: 2d501109ba7d4ba94ca7e8f2953258221947b90e
This commit is contained in:
committed by
Facebook Github Bot
parent
ee7c702308
commit
2e5e9fa88a
@@ -10,7 +10,7 @@
|
||||
|
||||
'use strict';
|
||||
|
||||
const assetPathUtils = require('./assetPathUtils');
|
||||
const assetPathUtils = require('../../Libraries/Image/assetPathUtils');
|
||||
const path = require('path');
|
||||
|
||||
import type {PackagerAsset} from '../../Libraries/Image/AssetRegistry';
|
||||
|
||||
Reference in New Issue
Block a user