An open API service indexing awesome lists of open source software.

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

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/).