SyntaxError: Named export 'symlinkSync' not found. The requested module 'fs-extra' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:
import pkg from 'fs-extra';
const { symlinkSync, mkdirpSync } = pkg;
Fixes issue with destructuring CJS module in ESM.