Esm: Why is it bundled in gzip?

Created on 1 Sep 2017  路  1Comment  路  Source: standard-things/esm

Size doesn't matter in Node, right? Webpack already supports import statements.

question

Most helpful comment

Hi @laggingreflex!

Size doesn't matter in Node, right?

The size of node_modules has grown to the point of being memeable:

The @std/esm loader is designed to be a small (< 50kb), zero dependency, package so devs can feel comfortable reaching for it in any situation.

Node is also used in serverless environments like AWS Lambda and Azure functions where extra storage costs.

>All comments

Hi @laggingreflex!

Size doesn't matter in Node, right?

The size of node_modules has grown to the point of being memeable:

The @std/esm loader is designed to be a small (< 50kb), zero dependency, package so devs can feel comfortable reaching for it in any situation.

Node is also used in serverless environments like AWS Lambda and Azure functions where extra storage costs.

Was this page helpful?
0 / 5 - 0 ratings