【发布时间】:2021-01-16 15:44:01
【问题描述】:
我在使用 npm 安装的项目中使用 intl-tel-input。当我使用 Firebase 模拟器进行测试时,一切似乎都运行良好,但在部署后停止工作。
在 Chrome 开发工具中检查 Sources 选项卡后,我可以看到该模块未正确包含。 (请检查图片)但是,我完全无法弄清楚为什么。请帮忙!
Emulator Screenshot with the Telephone Input field working fine.
Screenshot taken post deployment with the Telephone input field broken.
Source File - intlTelInput.js located at /node_modules/intl-tel-input/build/css/intlTelInput.js
Source File - intlTelInput.css located at /node_modules/intl-tel-input/build/js/intlTelInput.css
【问题讨论】:
标签: firebase node-modules web-deployment firebase-hosting intl-tel-input