Building an app with this SDK using Vite produces this Rollup warning:
Export "EXTERNAL" of module "../node_modules/gridplus-sdk/dist/util.js" was reexported through
module "../node_modules/gridplus-sdk/dist/index.js" while both modules are dependencies of each other
and will end up in different chunks by current Rollup settings. This scenario is not well supported at the moment
as it will produce a circular dependency between chunks and will likely lead to broken execution order.
Either change the import in "../node_modules/gridplus-sdk/dist/api/setup.js" to point directly to the exporting module
or reconfigure "output.manualChunks" to ensure these modules end up in the same chunk.
It's probably this line in setup.js
import { Utils } from '..';
which should be
import { EXTERNAL as Utils } from '../util';
Building an app with this SDK using Vite produces this Rollup warning:
It's probably this line in
setup.jswhich should be