diff --git a/packages/@interactjs/interactjs/index.stub.ts b/packages/@interactjs/interactjs/index.stub.ts index 814033cb9..380c4e5fd 100644 --- a/packages/@interactjs/interactjs/index.stub.ts +++ b/packages/@interactjs/interactjs/index.stub.ts @@ -41,13 +41,6 @@ if (process.env.NODE_ENV !== 'production') { } export default interact - -if (typeof module === 'object' && !!module) { - try { - module.exports = interact - } catch {} -} - ;(interact as any).default = interact const _ = { diff --git a/packages/@interactjs/interactjs/index.ts b/packages/@interactjs/interactjs/index.ts index 814033cb9..380c4e5fd 100644 --- a/packages/@interactjs/interactjs/index.ts +++ b/packages/@interactjs/interactjs/index.ts @@ -41,13 +41,6 @@ if (process.env.NODE_ENV !== 'production') { } export default interact - -if (typeof module === 'object' && !!module) { - try { - module.exports = interact - } catch {} -} - ;(interact as any).default = interact const _ = {