最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - Is there a way to automatically build a dependency in package.json? - Stack Overflow

programmeradmin1浏览0评论

I use firebaseui, and I need to build it with french localization because the localized versions are not published to npm. My current package.json looks like this:

"dependencies": {
    "firebaseui": "^3.5.2"
}

Is there a way to change it so that firebaseui is built with build-js-fr parameter on npm install?

I use firebaseui, and I need to build it with french localization because the localized versions are not published to npm. My current package.json looks like this:

"dependencies": {
    "firebaseui": "^3.5.2"
}

Is there a way to change it so that firebaseui is built with build-js-fr parameter on npm install?

Share Improve this question asked Apr 12, 2019 at 14:26 moppagmoppag 1,09611 silver badges18 bronze badges 2
  • 1 Sounds like what you should at the very least also be doing is asking about getting them to publish the localizations so you can require('firebaseui/fr') instead of having to build things yourself, on their issue tracker. – Mike 'Pomax' Kamermans Commented Apr 12, 2019 at 14:29
  • agreed, unless you'd like to customize the localization, I don't see why you should be building it in the first place. Let's get this published!
发布评论

评论列表(0)

  1. 暂无评论