fix(bin): allow cjs __dirname in nuxt.config.js

This commit is contained in:
Pooya Parsa 2018-05-02 13:50:41 +04:30 committed by Pooya Parsa
parent e8079fc740
commit b7c6a87239

View File

@ -5,7 +5,9 @@ const consola = require('consola')
const esm = require('esm')(module, {
cache: false,
cjs: {
cache: true
cache: true,
vars: true,
namedExports: true
}
})