Skip to content

What's next??

Kiran Mantha edited this page Jul 6, 2022 · 1 revision

Till date all scoped packages of PlumeJS i.e., @plumejs/core, @plumejs/router and @plumejs/ui are offered in dual package format (the dist folders contains both cjs and mjs formats). But with the increasing adoption and advantages of ECMAScript modules, the next release is mainly about delivering all the scoped packages in ESM module format only.

One hiccup with this approach is regarding Jest. Jest, a unit test framework which is baked into the framework, is not yet ready for ESM modules. With this obstacle in place, Vitest is in consideration as a replacement. Vitest is way easier to setup. Much easier even when compared to Jest. The biggest selling point is, it has built-in support for ESModules and typescript. The only BUT is it require a minimum node version as 15. In node, ESModules are in experimental stage till v14 and it is brought to production from v15. So when next release happend, PlumeJS will urge devs to use latest node version as standard.