node-zendesk
node-zendesk copied to clipboard
Incompatible with esbuild/bundling tools
Due to dynamic/runtime requires (client.js:95), tools such as esbuild won't include the runtime libraries when producing a runtime bundle (see also: https://github.com/blakmatrix/node-zendesk/issues/282)
Can these requires be done explicitly in order to work properly with these tools?
eg:
if (options.stores.defaults.store.helpcenter) {
require('./client/helpcenter/articles')
require('./client/helpcenter/sections')
// ...
} else ...