Currently not very actual, but already some of the functionality is optional, so can be not used in specific cases, and would be good to be able to tree shake it. Tree shaking in webpack only works with es modules.
.mjs modules work natively in nodejs since 14 (the oldest maintainable version).
Currently not very actual, but already some of the functionality is optional, so can be not used in specific cases, and would be good to be able to tree shake it. Tree shaking in webpack only works with es modules.
.mjs
modules work natively in nodejs since 14 (the oldest maintainable version).