Closed akphi closed 2 years ago
@RyanZim Reading https://github.com/jprichardson/node-fs-extra/issues/746 and it seems like I was lucky to be able to use fs-extra
in this ESM-like
fashion so far... Let me know what you think, I'm happy to close this if you confirm this is totally by accident and we should avoid using this ESM-like
approach till #746 is resolved. Thanks!
Yeah, we've never supported ESM; I surprised that ever worked.
I think the change in https://github.com/jprichardson/node-fs-extra/pull/922 broke the importing of
copySync
in ESM mode a bit. The error is belowThis did not happen in
10.0.0
.fs-extra
version: 10.0.1