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

Update README.md #242

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Update README.md #242

wants to merge 4 commits into from

Conversation

gregveres
Copy link
Contributor

I have added information to the Readme file of the vue plugin that I wish was there before I started migrating my app into Nx with the vue plugin. Knowing this information up front could have saved me days of time spent searching and getting things wrong.

resolveConfigureWebpack is an async function that returns the promise of the
require statement. But all of the locations where resolveConfigureWebpack was
called, were not awaited. This meant that users of the plugin were not able to
install their own webpack configuration because the contents of configure-webpack.js
was never actually read and added to the vue-cli configuration object.

This commit adds the awaits for all of the locations where the function is called.
Unfortunately there are no unit tests that test these functions and I didn't know
how to go about adding unit tests for this area. So there are no new tests for
this change.

However, I believe it is important to get this out to users of the plugin quickly
because without this change the plugin is virtually useless for any substantial vue
app.
I have added information to the Readme file of the vue plugin that I wish was there before I started migrating my app into Nx with the vue plugin. Knowing this information up front could have saved me days of time spent searching and getting things wrong.
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