Skip to content

Latest commit

 

History

History
 
 

webpack-build

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Socket.IO WebPack build

A sample Webpack build for the browser.

How to use

$ npm i
$ npm run build-all

There are two WebPack configuration:

  • the minimal configuration, just bundling the application and its dependencies. The app.js file in the dist folder is the result of that build.

  • a slimmer one, where:

    • the JSON polyfill needed for IE6/IE7 support has been removed.
    • the debug calls and import have been removed (the debug library is included in the build by default).
    • the source has been uglified (dropping IE8 support), and an associated SourceMap has been generated.