We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
esm
Clone the Node repository
git clone --depth=1 https://github.com/nodejs/node
Perform the following code modifications (see commit)
esm.js
esm/
lib/internal/
library_files
node.gyp
'lib/internal/esm.js', 'lib/internal/esm/loader.js',
internal/esm
preloadModules
lib/internal/bootstrap/pre_execution.js
require('internal/esm');
Build Node in the repository (with Ninja)
./configure --ninja && ninja -C out/Release
Enjoy your Node build at out/Release/node
out/Release/node