spa errors source map support

This commit is contained in:
Pooya Parsa 2017-08-06 02:03:46 +04:30
parent 3abc779447
commit b78b189aea

View File

@ -13,6 +13,9 @@ import {
getLocation,
compile
} from './utils'
<% if (debug) { %>import 'source-map-support/browser-source-map-support'<% } %>
<% if (debug) { %>window.sourceMapSupport && window.sourceMapSupport.install()<% } %>
const noopData = () => { return {} }
const noopFetch = () => {}