In my Nuxt app I need to treeshake not used Icons from local library. I am following instructions provided on webpack https://webpack.js.org/guides/tree-shaking/ but I still can see all icons provided by the library in the lighthouse source map, even though not all of them are used across the app.
nuxt.config.ts:
optimization: {
usedExports: true,
},
package.json:
"sideEffects": false,