|
il y a 5 ans | |
---|---|---|
build | il y a 5 ans | |
docs | il y a 5 ans | |
.gitignore | il y a 5 ans | |
LICENSE | il y a 5 ans | |
README.md | il y a 5 ans | |
app.js | il y a 5 ans | |
package-lock.json | il y a 5 ans | |
package.json | il y a 5 ans | |
template.ejs | il y a 5 ans | |
test_module.js | il y a 5 ans |
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.
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
).
Makes a bundle without modules from node_modules
.
Instead, require('mode_name')
injected. See more details
in build/webpack.dev.conf.js