Skip to content
Repo showing how to bundle an express.js application to a bundle with webpack
JavaScript HTML
Branch: master
Clone or download
Latest commit 92fc83d Aug 16, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build require.extension warning filder Aug 14, 2019
docs webpack games + genereted javascripts Aug 13, 2019
.gitignore webpack++ Aug 13, 2019
LICENSE Initial commit Aug 11, 2019
README.md link to corpglory.com Aug 16, 2019
app.js prod/dev builds++ Aug 14, 2019
package-lock.json ejs++ Aug 14, 2019
package.json
template.ejs ejs++ Aug 14, 2019
test_module.js test_module Aug 13, 2019

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

You can’t perform that action at this time.