You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's suppose a file located at /<packagerootdir>/lib/xyz/someaction.js. After compilation I place the resulting file in e.g. /app/dist/index.js. The someaction.js used import.meta.url to find it's location. And it was working well in the uncompiled code. But for the compiled import.meta.url returns /app/lib/xyz/someaction.js. So:
This is incorrect because /app/lib/xyz/someaction.js does not exist
This is incorrect because the index.js is actually in /app/dist ... and dist part is missing in the resulting path anyway
Finally it is not clear how to get compiled index.js path properly.
The text was updated successfully, but these errors were encountered:
Let's suppose a file located at
/<packagerootdir>/lib/xyz/someaction.js
. After compilation I place the resulting file in e.g./app/dist/index.js
. Thesomeaction.js
usedimport.meta.url
to find it's location. And it was working well in the uncompiled code. But for the compiledimport.meta.url
returns/app/lib/xyz/someaction.js
. So:/app/lib/xyz/someaction.js
does not existindex.js
is actually in/app/dist
... anddist
part is missing in the resulting path anywayindex.js
path properly.The text was updated successfully, but these errors were encountered: