Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

webpackMerge function is deprecated in webpack-merge 5.x.x. #43

Open
wants to merge 1 commit into
base: feature/04010-composing-configs-webpack-merge
Choose a base branch
from

Conversation

RaminMammadzada
Copy link

@RaminMammadzada RaminMammadzada commented Dec 14, 2020

webpack-merge 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.

I have updated the webpack config file.

So, instead of const webpackMerge = require("webpack-merge");
we should write { merge } = require("webpack-merge");

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant