How do you create a meteorJS package with strings for the user?

I am creating a meteorite package for the JS library that contains a number of additional plugins in the main repository. I would like to give the user the opportunity to choose which library extensions to use, without having to include them without having to.

Is this possible with the current build system? If so, where to start?

+5
source share
1 answer

This is currently not supported. In a sense, each package is an β€œoption” that you enable through the package system itself. Your best bet is to simply publish packages for each part, and possibly add packages for common build combinations.

Twitter Bootstrap is currently doing something similar:

twbs:bootstrap // normal bootstrap twbs:bootstrap-noglyph // bootstrap sans glpyhs 

In addition, some of the (pre) packaged stylus packages:

 stolinski:stylus-multi cryptoquick:stylus-multi mquandalle:stylus 

I hope this answer is obsolete.

+1
source

Source: https://habr.com/ru/post/1236222/


All Articles