install source-map-support

This commit is contained in:
Rich Harris
2018-02-20 14:01:25 -05:00
parent c0cc877456
commit 896fd410d1
2 changed files with 4 additions and 1 deletions

View File

@@ -9,6 +9,9 @@ import escape_html from 'escape-html';
import { create_routes, templates, create_compilers, create_template } from 'sapper/core.js';
import { dest, entry, isDev, src } from '../config';
import { Route, Template } from '../interfaces';
import sourceMapSupport from 'source-map-support';
sourceMapSupport.install();
const dev = isDev();