vsivsi/meteor-job-collection

Support dynamic import

Open

#259 opened on Oct 12, 2017

View on GitHub
 (2 comments) (0 reactions) (0 assignees)CoffeeScript (68 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (389 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

First of all, this is a great package and it has shorten my development by a lot as I move a lot of long running tasks in the background like sending SMS or uploading to S3.

But if there is one part that we can improve, it is with dynamically importing this package in the client. In my case, less than 5% of my users actions use background jobs but it is the 5th biggest resource being downloaded.

Is there a possibility to setup the package for dynamic import as supported by Meteor since 1.5?

https://github.com/meteor/meteor/issues/8745

Contributor guide