2022-01-06
1206
#webpack
Kumar Abhirup
85338
Jan 6, 2022 â‹… 4 min read

Tree shaking JSON files with webpack

Kumar Abhirup I am Kumar Abhirup, founder at Beam Community, Inc. I'm in school and from Pune, India. I write about coding, tech, and everything I know.

Recent posts:

JavaScript Dictionary

JavaScript dictionary: How to use objects and maps for key-value pairs

Learn how to use JavaScript dictionaries with Objects and Maps. Discover key differences, performance insights, and best use cases with practical examples.

Elijah Agbonze
Feb 25, 2025 â‹… 9 min read
A guide to the CSS grid-template-columns property

A guide to the CSS grid-template-columns property

Take a deep dive into the CSS grid template columns property, an essential part of the CSS Grid Layout specification.

Samuel Martins
Feb 25, 2025 â‹… 15 min read
A Guide To Node.js Readable Streams

A guide to Node.js readable streams

Explore how Node.js readable streams process data in small chunks, manage data flow, handle errors, and ensure resource cleanup.

Yan Sun
Feb 25, 2025 â‹… 7 min read
Advanced React State Management Using URL Parameters

Advanced React state management using URL parameters

Manage state in React using URL parameters for better performance, SEO, and accessibility while enabling shareable and server-rendered application states.

Rahul Chhodde
Feb 24, 2025 â‹… 16 min read
View all posts

2 Replies to "Tree shaking JSON files with webpack"

  1. Hey thanks for the article. In the last part about CSS free shaking, shouldn’t it be `sideEffects: false` instead?

    Cheers,
    Salim

    1. Hi, Kumar here. I checked the article & scraped the internet about this, I can confirm it should be `sideEffects: true`.

      Though, would love to know why you think it should be `false` instead. Thank you so much for reading, love the feedback!

Leave a Reply