Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/corpglory/express-webpack-example
Repo showing how to bundle an express.js application to a bundle with webpack
https://github.com/corpglory/express-webpack-example
cicd expressjs javascript nodejs wepback
Last synced: about 1 month ago
JSON representation
Repo showing how to bundle an express.js application to a bundle with webpack
- Host: GitHub
- URL: https://github.com/corpglory/express-webpack-example
- Owner: CorpGlory
- License: mit
- Created: 2019-08-11T18:43:16.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T09:37:24.000Z (almost 2 years ago)
- Last Synced: 2024-10-27T20:21:22.566Z (about 2 months ago)
- Topics: cicd, expressjs, javascript, nodejs, wepback
- Language: JavaScript
- Size: 309 KB
- Stars: 8
- Watchers: 1
- Forks: 4
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Express Webpack example
Repo showing how to bundle an [Express.js](https://github.com/expressjs/express)
application to a bundle with [Webpack](https://github.com/webpack/webpack).**Read more about the project on [https://corpglory.com/s/express-webpack/](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](build/webpack.dev.conf.js)