hg-pyun / axios-logger

Beautify Axios Logging Messages
MIT License
170 stars 33 forks source link

Support Dual Package #139

Open kabszac opened 1 year ago

kabszac commented 1 year ago

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

this closes #138

hg-pyun commented 1 year ago

@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

kabszac commented 1 year ago

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