tapable icon indicating copy to clipboard operation
tapable copied to clipboard

Ship it with `Dual Module Package`

Open axetroy opened this issue 11 months ago • 3 comments

Make it support cjs and esm. Let's fast-forward to ESM.

If this is allowed, please let me know and I'd be happy to make a PR

axetroy avatar Mar 18 '25 06:03 axetroy

Why you need ESM version of this package?

alexander-akait avatar Mar 22 '25 14:03 alexander-akait

Why you need ESM version of this package?

I'm going to use tapable in an environment that is not compatible with cjs, And, ESM is the future

axetroy avatar Mar 24 '25 07:03 axetroy

@axetroy You can send a PR, we can rewrite our code to esm and use babel/swc/etc to transpile it to commonjs and ship two versions

alexander-akait avatar Mar 24 '25 17:03 alexander-akait