Keine Beschreibung

Alexey Velikiy 9b1443bf0f prod/dev builds++ vor 6 Jahren
build 9b1443bf0f prod/dev builds++ vor 6 Jahren
docs fd125afb81 webpack games + genereted javascripts vor 6 Jahren
.gitignore 210261c1fd webpack++ vor 6 Jahren
LICENSE c77cf5ebc1 Initial commit vor 6 Jahren
README.md 19bc93042c readme++ vor 6 Jahren
app.js 9b1443bf0f prod/dev builds++ vor 6 Jahren
package-lock.json 2e2e7ada93 ejs++ vor 6 Jahren
package.json 2e2e7ada93 ejs++ vor 6 Jahren
template.ejs 2e2e7ada93 ejs++ 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