axios-logger icon indicating copy to clipboard operation
axios-logger copied to clipboard

Support Dual Package

Open kabszac opened this issue 2 years ago • 2 comments

Added "type": "module" to package.json.

this closes #138

kabszac avatar Aug 03 '23 08:08 kabszac

@kabszac

Supporting dual packages is not simple. The commit below is the process I tried. To support dual package, you must build with cjs and esm and set it up through separate export fields. This may require a separate build pipeline.

https://github.com/hg-pyun/axios-logger/pull/135/commits/b14bab5a2836f3015a1167cb2d90a94481395c19

hg-pyun avatar Aug 11 '23 01:08 hg-pyun

@hg-pyun Sorry I didn't get you well on how to about it

kabszac avatar Aug 16 '23 13:08 kabszac