You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 27, 2021. It is now read-only.
In the serve task, which is used to host a production build locally, a different tool is used. However, for development, webpack-dev-server supports a lot of features like proxying API requests and being able to augment requests / responses.
It would be nice to reuse this for production build testing.
Details
Essentially, create a webpack.config.serve.js that would reuse parts of webpack.config.develop.js and serve would:
Type of Change
Summary
In the
servetask, which is used to host a production build locally, a different tool is used. However, for development, webpack-dev-server supports a lot of features like proxying API requests and being able to augment requests / responses.It would be nice to reuse this for production build testing.
Details
Essentially, create a webpack.config.serve.js that would reuse parts of webpack.config.develop.js and
servewould:webpack-dev-serverwith this new config