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
I'm using the compiled file in the browser (Chromium only), and I need to specify the path like this (otherwise it throws an error):
import { createApp, createVNode, createTextVNode } from "./vue-files/vue.esm-browser.js";
Even if I add this line manually, the plugin still adds
import { createVNode, createTextVNode } from "vue";
which causes an error.
P.S. I've found https://github.com/FollowmeTech/babel-plugin-replace-import-path which replaces the path automatically. Leaving it here in case someone finds it helpful, or if someone knows a better solution.
The text was updated successfully, but these errors were encountered:
I'm using the compiled file in the browser (Chromium only), and I need to specify the path like this (otherwise it throws an error):
Even if I add this line manually, the plugin still adds
which causes an error.
P.S. I've found
https://github.com/FollowmeTech/babel-plugin-replace-import-path
which replaces the path automatically. Leaving it here in case someone finds it helpful, or if someone knows a better solution.The text was updated successfully, but these errors were encountered: