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
Hi, I got a problem with a Vuejs 2 project too using the alias plugin. I think @LoveofRedMoon suggested to replace all slash using return { find: key.replace?.(/\/+$/, '') , replacement: value }; instead of the current way to fix this problem.
Hey folks. This issue hasn't received any traction for 60 days, so we're going to close this for housekeeping. If this is still an ongoing issue, please do consider contributing a Pull Request to resolve it. Further discussion is always welcome even with the issue closed. If anything actionable is posted in the comments, we'll consider reopening it. ⓘ
Expected Behavior
file /output/bundle.js needs
required('src/index');
Actual Behavior
file /output/bundle.js shows
require('../../../@/index');
Additional Information
In alias plugin, the following code will return false when pass paramters ('/@/', '/@/vue/Button.vue')
I guess it is necessary to remove the trailing slash with pattern
for example:
The text was updated successfully, but these errors were encountered: