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

I use firebaseui, and I need to build it with french localization because the localized versions are no

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!

    发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745576890a4634020.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信