Export source maps utilities

Reviewed By: kittens

Differential Revision: D5249991

fbshipit-source-id: e2ad21bfa3497bc08c5afdcb0c7d9b76dc5dcc25
This commit is contained in:
Miguel Jiménez Esún 2017-06-15 10:29:04 -07:00 committed by Facebook Github Bot
parent ee31015d5c
commit af67937bba
1 changed files with 3 additions and 0 deletions

View File

@ -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;