-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
fix(app-vite&webpack): properly resolve AE script paths #18003
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
fix(app-vite&webpack): properly resolve AE script paths #18003
Conversation
I tested linking localy (quasar ext invoke) on projects:
app-webpack v3 will no longer be supported? Thanks for the efford! |
Thanks for confirming. I am hoping for another confirmation, especially from someone using Windows. app-vite v1 and app-webpack v3 are legacy now, we won't be making more updates to them. |
I also tested linking locally (quasar ext invoke) on Windows with the following projects:
Thanks for the support! |
Note: I did not tested this by adding extension without linkin it localy. On app-webpack v3, I just changed to this code: return getPackageScriptPath(
this.packageFullName,
scriptName,
appPaths.appDir
) And worked the link. |
@yusufkandemir any news on releasing date? Two peope tested in windows already. |
@DouglasCalora I originally scheduled it last week, but other work-related stuff got in the way. For this week, I was planning to do it tomorrow. So, if everything goes as expected, I will do it tomorrow. |
@yusufkandemir Thanks |
Thanks, everyone, for cooperating! Released in @quasar/app-vite-v2.2.1 (release) and @quasar/app-webpack-v4.2.1 (release) This is the first set of releases I did 🎉 |
What kind of change does this PR introduce?
Does this PR introduce a breaking change?
The PR fulfills these requirements:
dev
branch (orv[X]
branch)Other information:
Supersedes #17795
/
instead ofjoin
for import paths:import('quasar-app-extension-foo\\dist\\index.js')
is not valid.join
uses the separate according to the OSgetPackageJson
is implemented without usingjoin
packagePath = (... || getPackageScriptPath(...))
would end up.../pkg-path/dist/index.js
, sothis.#packagePath
was sometimes pointing out tosrc
/dist
, rather than the package root.this.#packagePath
no longer exists, so this no longer needs to be fixed withresolve(..., '..')
appDir
when resolving AE scripts