I am using chess.js@0.13.3, webpack@5.73.0, and webpack-cli@4.10.0 in my nodejs project. Now, chess.js uses the new es6 import system and the bundle file created by webpack uses the 'require' import system due to which I get an error that chess.js should be imported using the new es6 import system.