Sen descrición

Alexey Velikiy 5349b1db2b README++ %!s(int64=6) %!d(string=hai) anos
build d3c564d783 test_module %!s(int64=6) %!d(string=hai) anos
.gitignore 210261c1fd webpack++ %!s(int64=6) %!d(string=hai) anos
LICENSE c77cf5ebc1 Initial commit %!s(int64=6) %!d(string=hai) anos
README.md 5349b1db2b README++ %!s(int64=6) %!d(string=hai) anos
app.js d3c564d783 test_module %!s(int64=6) %!d(string=hai) anos
package-lock.json 210261c1fd webpack++ %!s(int64=6) %!d(string=hai) anos
package.json d3c564d783 test_module %!s(int64=6) %!d(string=hai) anos
test_module.js d3c564d783 test_module %!s(int64=6) %!d(string=hai) anos

README.md

--- IN DEVELOPMENT ---

DON'T USE THIS REPO YET

Express Webpack example

Repo showing how to bundle an Express.js application to a bundle with Webpack.

Project has production and development build.

Production build

Webpack makes a bundle with all modules inside. You can copy file dist/app.js to any directory and run it with node app.js (without package.json and node_modules).

Development build

Makes a bundle without modules from node_modules. Instead, require('mode_name') injected. See more details in build/webpack.dev.conf.js