Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

Hi. It is possible to use with webpack-dev-server hooks? #104

@7iomka

Description

@7iomka

Hi. It is possible to use with webpack-dev-server hooks?
I'm using vue-cli, and it use some options to config dev-server of webpack.
How I know, it uses express under hood.
So, if I try to run code below, server is not starting.
References:
https://webpack.js.org/configuration/dev-server/#devserverbefore

 const dysonOptions = {
        configDir: path.resolve(__dirname, './mocks'),
      };
      // install dyson service in a express app
      const dysonConfigs = dyson.getConfigurations(dysonOptions);
      dyson.registerServices(app, dysonOptions, dysonConfigs);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions