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
{{ message }}
This repository has been archived by the owner on Feb 14, 2023. It is now read-only.
Removing the check fixes the problem.
A solution would be to bypass the check if the file has a .js ext or completely removing the check but don't know if that impacts something else, didn't dig too much into the code.
The text was updated successfully, but these errors were encountered:
Aside from the modifications you've made to make it work, I've found that using an absolute .js path also make it work. It is not very usefull to me but perhaps it might help you.
Trying to import a .js file as this
will throw the following error.
The problem seems to be with the import path, the issue seems to be in this check that will not fail
serverless-import-config-plugin/src/index.ts
Line 60 in 6df1d65
but the subsequent require will.
serverless-import-config-plugin/src/index.ts
Line 144 in 6df1d65
Removing the check fixes the problem.
A solution would be to bypass the check if the file has a .js ext or completely removing the check but don't know if that impacts something else, didn't dig too much into the code.
The text was updated successfully, but these errors were encountered: