Ei kuvausta

Alexey Velikiy 92fc83dc54 link to corpglory.com 5 vuotta sitten
build 4576d60de3 require.extension warning filder 5 vuotta sitten
docs fd125afb81 webpack games + genereted javascripts 5 vuotta sitten
.gitignore 210261c1fd webpack++ 5 vuotta sitten
LICENSE c77cf5ebc1 Initial commit 5 vuotta sitten
README.md 92fc83dc54 link to corpglory.com 5 vuotta sitten
app.js 9b1443bf0f prod/dev builds++ 5 vuotta sitten
package-lock.json 2e2e7ada93 ejs++ 5 vuotta sitten
package.json 2e2e7ada93 ejs++ 5 vuotta sitten
template.ejs 2e2e7ada93 ejs++ 5 vuotta sitten
test_module.js d3c564d783 test_module 5 vuotta sitten

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