mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
fix(bin): allow cjs __dirname in nuxt.config.js
This commit is contained in:
parent
e8079fc740
commit
b7c6a87239
@ -5,7 +5,9 @@ const consola = require('consola')
|
||||
const esm = require('esm')(module, {
|
||||
cache: false,
|
||||
cjs: {
|
||||
cache: true
|
||||
cache: true,
|
||||
vars: true,
|
||||
namedExports: true
|
||||
}
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user