Skip to content

Change in api for webpack-merge #40

@harsh2602

Description

@harsh2602

webpack-merge has updated it's api in version 5.x.x. If following along in the course, the npm install would download version 5.x.x, where instead of using default require of webpackMerge it has to be updated to name import merge.

Change const webpackMerge = require("webpack-merge");

To const { merge } = require("webpack-merge");

To keep it similar to how Sean does it in the video, use version 4.x.x

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