Froquiz
Home
Quizzes
Job Tracker
Senior Challenge
Get Certified
Blog
🇬🇧
en
Sign In
Start Quiz
🇬🇧
en
Sign In
Start Quiz
Loading...
Quiz Topics
1
2
3
4
5
6
7
8
9
10
01
/ 10
What is tree shaking and why does it work better with ESM?
Auto Skip
Report Issue
A.
ESM can be statically analyzed; unused exports can be discarded; CJS dynamic require prevents static analysis
B.
Tree shaking works same way in all module systems; no difference
C.
Tree shaking works better with CommonJS; there is incompatibility with ESM
D.
Tree shaking only possible with Webpack; Rollup and Vite do not support
Previous
Next