There are 2 different things. --target
simply means which version of ECMAScript you’re using to code. --module
simply means which module system you’re using such as commonjs
for Node or ES module for all that supports it and what not.
There are 2 different things. --target
simply means which version of ECMAScript you’re using to code. --module
simply means which module system you’re using such as commonjs
for Node or ES module for all that supports it and what not.