Both importing from fs-extra and fs-extra/esm doesn't work anymore in v11.0.0. I tried the following lines in my fs.ts file:
import { ensureDirSync, ensureFileSync, removeSync } from 'fs-extra'
import { ensureDirSync, ensureFileSync, removeSync } from 'fs-extra/esm'
The top line does work in v10.1.0. Am I doing something wrong?
- Operating System: Ubuntu 22.04.1 LTS
- Node.js version: v16.18.0
fs-extra version: v11.0.0
Both importing from fs-extra and fs-extra/esm doesn't work anymore in v11.0.0. I tried the following lines in my fs.ts file:
The top line does work in v10.1.0. Am I doing something wrong?
fs-extraversion: v11.0.0