Nuxt/lib/common/module.js

9 lines
182 B
JavaScript
Raw Normal View History

2018-03-16 16:12:06 +00:00
const esm = require('esm')
const _esm = esm(module, {})
exports.requireModule = function requireModule() {
const m = _esm.apply(this, arguments)
return (m && m.default) || m
}