Skip to content

Why is my project path being hardcoded in the generated webpack? #9473

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

Closed
sarbull opened this issue Feb 1, 2018 · 2 comments
Closed

Why is my project path being hardcoded in the generated webpack? #9473

sarbull opened this issue Feb 1, 2018 · 2 comments

Comments

@sarbull
Copy link

sarbull commented Feb 1, 2018

I'm submitting a...


[ ] Regression
[X] Bug report
[ ] Feature request
[X] Documentation issue or request
[X] Support request

Current behavior

After i run ng eject my current full folder path is being hardcoded in the webpack build

...
    new CircularDependencyPlugin({
      "exclude": /(\\|\/)node_modules(\\|\/)/,
      "failOnError": false,
      "onDetected": false,
      "cwd": "D:\\Users\\sarbull\\projects\\angularApp"
    }),
...

Expected behavior

Should have been a relative path?

Minimal reproduction of the problem with instructions

Run ng eject check the webpack.config.js on line 406 in the CircularDependencyPlugin.

What is the motivation / use case for changing the behavior?

If i move the application in another folder will result in different folder paths.

@hansl
Copy link
Contributor

hansl commented Feb 1, 2018

Fixed in #9346.

@hansl hansl closed this as completed Feb 1, 2018
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants