---
title: "Discussion on \"Reducing Webpack bundle.js size\" | Hashnode"
description: "Discussion on \"Reducing Webpack bundle.js size\". I went to this problem when I got stuck with a poor mobile internet connection while developing my React app.\nIntro\nWhen you start developing using Webpack as a bundle tool for a React application, you start noticing that your bundle.js grow exponent..."
url: "https://hashnode.com/posts/reducing-webpack-bundlejs-size/586babf233e510cac9fa4c75"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Reducing Webpack bundle.js size](https://hashnode.com/post/reducing-webpack-bundlejs-size?utm_source=hashnode&utm_medium=feed)

I went to this problem when I got stuck with a poor mobile internet connection while developing my React app. Intro When you start developing using Webpack as a bundle tool for a React application, you start noticing that your bundle.js grow exponent...

Jan 3, 2017 · hashnode.com  
Updated Feb 25, 2017  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#webpack](https://hashnode.com/tag/webpack)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#es6](https://hashnode.com/tag/es6)
-   [#preact](https://hashnode.com/tag/preact)

## Written by

[Lucas Katayama](https://hashnode.com/@lucaskatayama)

@lucaskatayama · Campinas, BR

  
[View profile](https://hashnode.com/@lucaskatayama)

FullStack Developer

I am a ​self-taught, quick learner and highly motivated Full Stack JavaScript Developer with more than 10 years of experience developing, designing and managing web and mobile applications in a startup environment, seeking to develop skills to ensure software quality and reliability. Also seeking other challenges and learn new technologies.

## Responses 1

Markdown supported · ⌘↵ to post

[Kevin Jose](https://hashnode.com/@kevjose)

[Jan 10, 2017](https://hashnode.com/posts/reducing-webpack-bundlejs-size/586babf233e510cac9fa4c75/comment/58749f7fe6e8728a7f133536)

Great article !

you can add `new webpack.optimize.DedupePlugin()` to list of optimising tools :)

[Lucas Katayama](https://hashnode.com/@lucaskatayama)

[Jan 13, 2017](https://hashnode.com/posts/reducing-webpack-bundlejs-size/586babf233e510cac9fa4c75/comment/58749f7fe6e8728a7f133536#reply-58782e37c5642ec09a8848f3)

Thanks @kevjose!!! I'll try that!

[Hetmann Wilhelm Iohan](https://hashnode.com/@hetmann)

[Feb 25, 2017](https://hashnode.com/posts/reducing-webpack-bundlejs-size/586babf233e510cac9fa4c75/comment/58749f7fe6e8728a7f133536#reply-58b1ec23d03dbba62558e254)

As [Lucas Katayama](https://hashnode.com/@lucaskatayama "Lucas Katayama's Profile - Hashnode") said in the article, he's using **webpack 2**, which has the **DedupePlugin** removed (default enabled). More info here: [webpack.js.org/guides/migrating](https://webpack.js.org/guides/migrating/#dedupeplugin-has-been-removed)

If you're using **babel** I suggest to try [babel-plugin-transform-react-remove-prop-types](https://github.com/oliviertassinari/babel-plugin-transform-react-remove-prop-types)
