https://github.com/soyoung210/webpack-node-modules-splitting
🎩 webpack node modules splitting example with yarn2
https://github.com/soyoung210/webpack-node-modules-splitting
codesplitting webpack yarn2
Last synced: 5 months ago
JSON representation
🎩 webpack node modules splitting example with yarn2
- Host: GitHub
- URL: https://github.com/soyoung210/webpack-node-modules-splitting
- Owner: SoYoung210
- Archived: true
- Created: 2020-08-30T06:56:15.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-08-30T11:30:13.000Z (over 5 years ago)
- Last Synced: 2024-09-30T16:49:00.607Z (over 1 year ago)
- Topics: codesplitting, webpack, yarn2
- Language: JavaScript
- Homepage:
- Size: 84.5 MB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# webpack-node-modules-splitting
Example of webpack configuration that divides a node module into multiple modules according to rules.
## 🚀 How To Run?
```bash
# with Yarn 2+
$ yarn
$ yarn start:dev
```
Go To `http://localhost:9000`
## 👩🏻💻 About This Project
This project's dependency is managed by yarn2. If you don't have yarn 2 configured on your computer, please refer to [this document](https://yarnpkg.com/getting-started/install) to configure it.
## 📖 Reference
I refer to [webpack.config.ts](https://github.com/vercel/next.js/blob/ed0820f763e74d0071625030aed70b3b21184aef/packages/next/build/webpack-config.ts) of [Next.js](https://nextjs.org/).