0

Do I need to specify the experimental scope hoisting/tree shaking flag (in parcel 2.0) to use tree shaking?

parcel build entry.js --experimental-scope-hoisting

Or tree shaking is not longer a experimental feature in parcel 2.0?

Andrew Stegmaier
  • 3,429
  • 2
  • 14
  • 26
Mateo Lara
  • 827
  • 2
  • 12
  • 29

1 Answers1

1

As mentioned in this article regarding Parcel v2 beta 1 (which was released on June 18th, 2020), tree shaking is enabled by default

Jacob
  • 1,697
  • 8
  • 17