Webpack

javascript_webpack

webpack (64.1k ⭐) is a popular tool to merge javascript code into a single file called bundle. It's not specific to JavaScript.

Refer to the Official Documentation for details.

Webpack generates a file called xxx.js.map for debugging purposes during non-production builds. This file should not be uploaded in production as it contains code comments and commented out code.

You can try webcrack (0.5k ⭐) to unpack a bundle.

$ npm install -g webcrack

You can try shuji (0.9k ⭐) to unpack a bundle.

$ npm install --global shuji
$ shuji example.js.map -o output

πŸ‘» To-do πŸ‘»

Stuff that I found, but never read/used yet.

Plugins

Samples

$ webpack --config webpack/webpack.prod.js