Skip to content
This repository was archived by the owner on May 27, 2021. It is now read-only.
This repository was archived by the owner on May 27, 2021. It is now read-only.

As a developer I would like to use webpack dev server configuration for testing my production build #33

@thescientist13

Description

@thescientist13

Type of Change

  • New Feature Request
  • Documentation
  • Improvement / Suggestion
  • Bug
  • Other (please clarify below)

Summary

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:

  1. Build the app
  2. Start webpack-dev-server with this new config

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions