Simple mistake to ruin Webpack bundle optimization

This page summarizes the projects mentioned and recommended in the original post on dev.to

SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
  • terser

    🗜 JavaScript parser, mangler and compressor toolkit for ES6+

  • What you might not know, it's not the webpack that cleans up dead code per se. Of course, it does bulk of "preparation" work, but it is terser package that actually will *cut off * unused code. Terser is JavaScript parser, mangler and compressor toolkit for ES6+.

  • webpack

    A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows for loading parts of the application on demand. Through "loaders", modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.

  • Like you can see, messing up module interfaces prevents ModuleConcatenationPlugin (plugin for optimization) to do its job.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • Acorn

    A small, fast, JavaScript-based JavaScript parser

  • To build module means to generate AST while extracting all needed information (export-s, import-s etc.). Webpack relies on acorn.Parser (from acorn) to build and process AST.

  • tapable

    Just a little module for plugins.

  • 1) tapable package for event-driven architecture 2) terser for minification 3) acorn for AST processing 4) watchpack to watch file changes

  • watchpack

    Wrapper library for directory and file watching.

  • 1) tapable package for event-driven architecture 2) terser for minification 3) acorn for AST processing 4) watchpack to watch file changes

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • What the heck is an Abstract Syntax Tree (AST) ?

    5 projects | dev.to | 23 Apr 2022
  • Practical and Beginner friendly guide for speeding up your web-apps

    2 projects | dev.to | 1 May 2024
  • Understanding Code Structure: A Beginner's Guide to Tree-sitter

    2 projects | dev.to | 6 Apr 2024
  • Optimizing React Apps for Performance: A Comprehensive Guide

    2 projects | dev.to | 2 Apr 2024
  • How to create your own Eslint rule with tests, boosting the DX, and code-review

    2 projects | dev.to | 27 Mar 2024