Keine Beschreibung

Alexey Velikiy 5349b1db2b README++ vor 6 Jahren
build d3c564d783 test_module vor 6 Jahren
.gitignore 210261c1fd webpack++ vor 6 Jahren
LICENSE c77cf5ebc1 Initial commit vor 6 Jahren
README.md 5349b1db2b README++ vor 6 Jahren
app.js d3c564d783 test_module vor 6 Jahren
package-lock.json 210261c1fd webpack++ vor 6 Jahren
package.json d3c564d783 test_module vor 6 Jahren
test_module.js d3c564d783 test_module vor 6 Jahren

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