housekeeping: upgrade to babel@7 (via #5450)
* Babel 7 * preserve module output; straighten out ES/CJS syntax * add webpack TODOs * remove unused Babel modules * Update index.js * install @babel/register
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import Swagger from "swagger-client"
|
||||
import * as configsWrapActions from "./configs-wrap-actions"
|
||||
|
||||
module.exports = function({ configs, getConfigs }) {
|
||||
export default function({ configs, getConfigs }) {
|
||||
return {
|
||||
fn: {
|
||||
fetch: Swagger.makeHttp(configs.preFetch, configs.postFetch),
|
||||
|
||||
Reference in New Issue
Block a user