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:

Creating toast notifications using Solid Toast

Toast notifications are messages that appear on the screen to provide feedback to users. When users interact with the user […]

Chimezie Innocent
Sep 6, 2024 â‹… 7 min read
Deno Adoption Guide: Overview, Examples, And Alternatives

Deno adoption guide: Overview, examples, and alternatives

Deno’s features and built-in TypeScript support make it appealing for developers seeking a secure and streamlined development experience.

Emmanuel Odioko
Sep 5, 2024 â‹… 10 min read
Types vs. Interfaces in TypeScript

Types vs. interfaces in TypeScript

It can be difficult to choose between types and interfaces in TypeScript, but in this post, you’ll learn which to use in specific use cases.

Yan Sun
Sep 5, 2024 â‹… 9 min read
Flutter Logo

How to build a bottom navigation bar in Flutter

This tutorial demonstrates how to build, integrate, and customize a bottom navigation bar in a Flutter app.

Pinkesh Darji
Sep 5, 2024 â‹… 6 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