I followed this article. aws-sdk-with-webpack
But since added loaders in nuxt.config.js it removed the default loaders. I copy pasted the default loader from the documentation but still it was throwing some error
ERROR in ./~/xmlbuilder/lib/index.js
Module not found: Error: Can't resolve 'lodash/object/assign' in '/Users/shyam/Documents/indee/new-indee/node_modules/xmlbuilder/lib'
@ ./~/xmlbuilder/lib/index.js 5:11-42
@ ./~/aws-sdk/lib/xml/builder.js
@ ./~/aws-sdk/lib/core.js
@ ./~/aws-sdk/lib/browser.js
@ ./plugins/aws.js
<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c244">#c244</a>)</em></sub></div>