2 ms·
In short, node has imports, browsers have imports, but node-related toolkits do not support it, and people still webpack bundles because development and deploym
by wruza 5y ago
In short, node has imports, browsers have imports, but node-related toolkits do not support it, and people still webpack bundles because development and deployment processes are a thing, and it doesn’t matter much which module system a “binary” bundle uses in the end.
Some people tried to force ESM adoption by making popular modules ESM-only for no technical reason, but tools are not there yet, and it only annoyed (predictably) half of the internet. Because even if you are pro-ESM or indifferent to it, you can’t do much to migrate your projects’ build pipelines. If you see typescript and webpack, you wouldn’t see “ESM” in there. It either doesn’t work or is too fragile for production.
People who claim it’s done say so because they are using particularly unaffected stacks (including no stack). Idk which way to promote ESM would be the most correct, but this one is too deceptive.
- rattlesnakedave 5y ago> Some people tried to force ESM adoption by making popular modules ESM-only for no technical reason Being the standard for the lsat 7 years strikes me as a good reason.
- wruza 5y agoGoing X-only for a political reason is not a good one, especially if the standard is of a different platform, which had no X at all back when the de facto standard was set.