Bez popisu

dependabot[bot] 98efcb6e92 Bump json5, webpack and webpack-cli před 2 roky
build 4576d60de3 require.extension warning filder před 5 roky
docs fd125afb81 webpack games + genereted javascripts před 5 roky
.gitignore 210261c1fd webpack++ před 5 roky
LICENSE c77cf5ebc1 Initial commit před 5 roky
README.md 92fc83dc54 link to corpglory.com před 5 roky
app.js 9b1443bf0f prod/dev builds++ před 5 roky
package-lock.json 98efcb6e92 Bump json5, webpack and webpack-cli před 2 roky
package.json 98efcb6e92 Bump json5, webpack and webpack-cli před 2 roky
template.ejs 2e2e7ada93 ejs++ před 5 roky
test_module.js d3c564d783 test_module před 5 roky

README.md

Express Webpack example

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

Read more about the project on https://corpglory.com/s/express-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