Despite `lodash` being on the external list, certain approaches to importing from `lodash` increase plugin bundle size more than others. Perhaps we can integrate some eslint-plugin-lodash rules to enforce better tree-shaking in plugins? - https://www.npmjs.com/package/eslint-plugin-lodash - https://github.com/idok/eslint-plugin-lodash Or... - https://www.npmjs.com/package/eslint-plugin-tree-shaking - https://github.com/lukastaegert/eslint-plugin-tree-shaking
Despite
lodashbeing on the external list, certain approaches to importing fromlodashincrease plugin bundle size more than others.Perhaps we can integrate some eslint-plugin-lodash rules to enforce better tree-shaking in plugins?
Or...