admin管理员组

文章数量:1431406

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!

    本文标签: javascriptIs there a way to automatically build a dependency in packagejsonStack Overflow