Issue Task Rejected

#106190Use native @interactjs/interactjs ES6 package

Benjamin Franzke 02/17/25, 19:22 updated 04/02/26, 08:27

Description

Build a native ES6 module from the @interactjs/interactjs sources as
suggested to be used for native ES6 module environments in:
https://github.com/taye/interact.js/issues/769

The advantage of using `@interactjs/interactjs` instead of
`interactjs` is that the shipped typescript types can
be used instead of the CommonJS targeted wrapper types from
`@interactjs/types` which are not compatible with the
`verbatimModuleSyntax` [1] TypeScript option that we’d like to
enable in future.

This change also means one less package needs our custom CommonJS-to-ES6
wrapper which is actually a workaround intended for packages that do not
provide any usable ES6 modules.

Reviews 1