fetch-xl
Version:
Fluent, interceptable (using es6 generators), configurable and loggable fetch wrapper
24 lines (21 loc) • 637 B
JavaScript
/* global System */
System.config({
baseURL: '/',
defaultJSExtensions: true,
transpiler: 'plugin-babel',
meta: {
'*.js': {
babelOptions: {
// disable ES2015 feature transpilation for local development (chrome supports it already)
es2015: false
}
},
'node_modules/babel-polyfill/dist/polyfill.js': {
format: 'global'
}
},
map: {
'plugin-babel': 'node_modules/systemjs-plugin-babel/plugin-babel.js',
'systemjs-babel-build': 'node_modules/systemjs-plugin-babel/systemjs-babel-browser.js'
}
});