Conversation
atk
commented
Feb 24, 2022
- update dependencies
- add esm exports, fixes issue Ship ESM build #8
|
Shouldn’t cjs export have cjs extension? Not sure if native node can process js file in a module project with require(). |
|
That is actually not neccessary if we omit type: "module" and thus, don't force node into a certain mode. Tested it again and it seems to work. |
Then I don't think ESM will work :) At least Vitest will default to |
- add esm exports, fixes issue solidjs#8
|
OK, I changed the exports to cjs and mjs so vitest and node may detect it properly; also increased the required node version to at least 14 to switch to a version that even allows these imports. |
|
Thank you |