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

resolve alias #200

Closed
baesku789 opened this issue Oct 18, 2022 · 2 comments
Closed

resolve alias #200

baesku789 opened this issue Oct 18, 2022 · 2 comments

Comments

@baesku789
Copy link

  1. Check the version of webpack-merge you are using. If it's not the newest version, update and try again (see changelog while updating!).
  2. If the issue is still there, write a minimal script showing the problem and expected output. You can also set up a repository (even better).
  3. Include the script to the issue. Mention Node version and OS in your report.

How to reslove alias in webpack.common.js ?
I write resolve alias in webpack.common.js, but when i run webpack-dev-server webpack couldn't resolve alias so i get error.
please let me do that

@bebraw
Copy link
Member

bebraw commented Oct 18, 2022

Merging resolve.alias is supported.

As there's not enough information to debug, I am closing the issue.

@bebraw bebraw closed this as completed Oct 18, 2022
@bebraw
Copy link
Member

bebraw commented Oct 18, 2022

Re: potential error. Make sure you are merging to the same type (i.e. array, object, etc.) as otherwise, it won't merge.

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

No branches or pull requests

2 participants