Closed karthik2706 closed 6 years ago
Will convert work if i use require rather than import? const convert = require('muban-convert-hbs');
default exports in es6 are exported as a .default, so in es5 you can use this (it's now also added to the readme):
.default
var convert = require('muban-convert-hbs').default;
Will convert work if i use require rather than import? const convert = require('muban-convert-hbs');