|
vor 6 Jahren | |
---|---|---|
build | vor 6 Jahren | |
.gitignore | vor 6 Jahren | |
LICENSE | vor 6 Jahren | |
README.md | vor 6 Jahren | |
app.js | vor 6 Jahren | |
package-lock.json | vor 6 Jahren | |
package.json | vor 6 Jahren | |
test_module.js | vor 6 Jahren |
Repo showing how to bundle an Express.js application to a bundle with 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