Which tool is essential for enabling tree shaking in a modern JavaScript project?

  • Webpack
  • Babel
  • ESLint
  • npm
Tree shaking is a process in Webpack that eliminates unused code, reducing the bundle size. By configuring Webpack properly, you can enable tree shaking and optimize your project for better performance.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *