mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-18 14:41:25 +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, {
|
const esm = require('esm')(module, {
|
||||||
cache: false,
|
cache: false,
|
||||||
cjs: {
|
cjs: {
|
||||||
cache: true
|
cache: true,
|
||||||
|
vars: true,
|
||||||
|
namedExports: true
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user