fix: replace require('fs') with ESM import in e2e build tests
#3284
+1
−2
require('fs') with ESM import in e2e build tests
#3284