Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dennisxzx/webpack-playground
https://github.com/dennisxzx/webpack-playground
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/dennisxzx/webpack-playground
- Owner: dennisXZX
- Created: 2019-06-04T11:09:48.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-02-28T21:16:38.000Z (almost 2 years ago)
- Last Synced: 2024-10-28T14:14:54.999Z (3 months ago)
- Language: JavaScript
- Size: 3.36 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 28
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Webpack for Mono repo
This app is mainly a playground trying to configure Webpack from scratch to support a mono repo with multiple apps.
How to run client apps:
- cd into `client` directory and `npm i` to install dependencies
- `npm run build` to build all apps
- `npm run dev` to get into dev mode
- `npm run lint` to lint all projectsNote: If you run into error during `npm i`, please make sure you downgrade your `node` version to `v14` as `node-sass` in this project does not support the latest version of `node`.
How to run server app:
- cd into `server` directory and `npm i` to install dependencies
- `npm start` to launch an Express web serverRoutes:
- `/` - an app launcher
- `/hello-world` - a static website
- `/kiwi` - a static website
- `/react` - a React app
- `/vue` - a Vue app### Todo
- Use `ts-node` in the backend
- Apply `eslint` in the backend
- Implement the Express app properly (optimise routes config, add 404..etc)
- Try another Node.js framework?