Closed ccrowley96 closed 3 years ago
https://github.com/microsoft/iot-cardboard-js/blob/main/src/Adapters/TsiAdapter.ts#L3
transformTsqResultsForVisualization call requires UXClient import which also imports a lot of other modules - including Azure maps dependency.
transformTsqResultsForVisualization
It looks like this increases package size by >1MB.
I think the best fix here is to move helper functions like transformTsqResultsForVisualization outside of 'tsiclient/UXClient'
'tsiclient/UXClient'
transformTsqResultsForVisualization direct import
https://github.com/microsoft/iot-cardboard-js/blob/main/src/Adapters/TsiAdapter.ts#L3
transformTsqResultsForVisualization
call requires UXClient import which also imports a lot of other modules - including Azure maps dependency.It looks like this increases package size by >1MB.
I think the best fix here is to move helper functions like
transformTsqResultsForVisualization
outside of'tsiclient/UXClient'