|
před 2 roky | |
---|---|---|
build | před 5 roky | |
docs | před 5 roky | |
.gitignore | před 5 roky | |
LICENSE | před 5 roky | |
README.md | před 5 roky | |
app.js | před 5 roky | |
package-lock.json | před 2 roky | |
package.json | před 2 roky | |
template.ejs | před 5 roky | |
test_module.js | před 5 roky |
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