mirror of https://github.com/status-im/metro.git
Export source maps utilities
Reviewed By: kittens Differential Revision: D5249991 fbshipit-source-id: e2ad21bfa3497bc08c5afdcb0c7d9b76dc5dcc25
This commit is contained in:
parent
ee31015d5c
commit
af67937bba
|
@ -17,6 +17,8 @@ const TransformCaching = require('./lib/TransformCaching');
|
|||
const debug = require('debug');
|
||||
const invariant = require('fbjs/lib/invariant');
|
||||
|
||||
const {fromRawMappings, compactMapping} = require('./Bundler/source-map');
|
||||
|
||||
import type {PostProcessModules, PostMinifyProcess} from './Bundler';
|
||||
import type Server from './Server';
|
||||
import type {GlobalTransformCache} from './lib/GlobalTransformCache';
|
||||
|
@ -24,6 +26,7 @@ import type {TransformCache} from './lib/TransformCaching';
|
|||
import type {Reporter} from './lib/reporting';
|
||||
import type {HasteImpl} from './node-haste/Module';
|
||||
|
||||
exports.sourceMaps = {fromRawMappings, compactMapping};
|
||||
exports.createServer = createServer;
|
||||
exports.Logger = Logger;
|
||||
|
||||
|
|
Loading…
Reference in New Issue