This adds an esbuild plugin to "fix" the esbuild problem of having export default a changed into module.exports.default = a instead of modules.exports = a. Using the plugin removes the build warnings we get from esbuild when we tried to add module.exportsinto the code to do this manually.
This adds an esbuild plugin to "fix" the esbuild problem of having
export default a
changed intomodule.exports.default = a
instead ofmodules.exports = a
. Using the plugin removes the build warnings we get from esbuild when we tried to addmodule.exports
into the code to do this manually.Closes https://github.com/dequelabs/axe-core-npm/issues/948