是否有可能跳过导入错误构建失败的可能性

发布于 2025-02-13 14:55:22 字数 707 浏览 0 评论 0原文

当在node_modules/中找不到某些组件时,我不想将某些组件的某些import捆绑在一起

嗨,我的情况是,

。 https://i.sstatic.net/p6vgp.png“ rel =“ nofollow noreferrer”> “在此处输入图像描述”

基于上述体系结构我将导出/EMIT Compontion从<< strong>插件应用 side,实际导入将发生在主应用程序方面,

我试图找到解决方案的解决方案 https://eslint.vuejs.org/rules/

href = “ /strong>导入插件应用程序 从'vue-multiselect'导入多电选择被视为代理和实际导入将在 Main App

注:中:我正在使用vue2.2.x版本

Hi i have situation where i don't want to bundle some import of some component when it is not found in node_modules/

My Architecture is something like this

enter image description here

Based on above architecture i will export/emit component Object from Plugin App side , actual import will happen in MAIN APP side

I have tried to find solution to with linting https://eslint.vuejs.org/rules/ but did not find any

Expectation: import inside Plugin App import Multiselect from 'vue-multiselect' must be treated as proxy and actual import will going to happen in MAIN APP

Note: i'm using vue2.x version

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文