Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Revert both cjs and esm modules support #108

@samchon

Description

@samchon

I'd succeeded to support both cjs and esm modules, by publishing js, mjs, d.ts, d.mts files at the same time, through developing custom builder program. However, it can cause duplicated class problem. If a library imports Vector of tstl as CSM and another library also imports Vector class of ESM, two Vector classes being considered as different class.

Therefore, I conclude this experiment as premature and decided to roll back.

However, I will keep the custom builder program for future.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestinvalidThis doesn't seem right

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions