Use ESM export instead of CJS in utils/lazyValue.js to prevent build error in nuxt3

This commit is contained in:
grunghi
2022-04-15 10:58:33 +02:00
parent 3a79aa417a
commit 1fc8cf3c5e

View File

@@ -1,6 +1,6 @@
// lazy-value by sindresorhus // lazy-value by sindresorhus
module.exports = fn => { export default fn => {
let called = false; let called = false;
let result; let result;