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:

Solid Principles For Javascript

SOLID principles for JavaScript

SOLID principles help us keep code flexible. In this article, we’ll examine all of those principles and their implementation using JavaScript.

Frank Joseph
Dec 5, 2024 â‹… 10 min read
Master JavaScript Date And Time: From Moment.js To Temporal

Master JavaScript date and time: From Moment.js to Temporal

JavaScript’s Date API has many limitations. Explore alternative libraries like Moment.js, date-fns, and the new Temporal API.

Yan Sun
Dec 4, 2024 â‹… 9 min read
Npm Vs. Npx: What’s The Difference?

npm vs. npx: What’s the difference?

Explore use cases for using npm vs. npx such as long-term dependency management or temporary tasks and running packages on the fly.

Fimber Elemuwa
Dec 3, 2024 â‹… 5 min read
How To Audit And Validate AI-Generated Code Output

How to audit and validate AI-generated code output

Validating and auditing AI-generated code reduces code errors and ensures that code is compliant.

Boemo Mmopelwa
Dec 2, 2024 â‹… 5 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