Migrating your project to AWS IOT device sdk v2
Hello everyone! I recently had the opportunity to work with AWS IoT to fetch real-time data. During the migration from Webpack 4 to Webpack 5, we encountered some issues with the aws-iot-device-sdk. While building our project, we encountered errors r...
blog.devaman.dev3 min read
Ankit
Developer
Its all fine, good read but when we do ng-build getting issues it says - pub-sub-test.component.ts depends on 'aws-iot-device-sdk-v2'. CommonJS or AMD dependencies can cause optimization bailouts. For more info see: https :// angular.io/ guide/ build#configuring-commonjs-dependencies
so how to use sdk and build properly ?