meteorhacks / picker

Server Side Router for Meteor
MIT License
182 stars 30 forks source link

Disables dynamic import from Meteor #53

Open houshuang opened 6 years ago

houshuang commented 6 years ago

PSA: Meteor team discourages use of Picker: https://github.com/meteor/meteor/issues/9653#issuecomment-376514415

Specifically, it disables the dynamic import functionality.

jeffreyflynt commented 6 years ago

If you need time to change out this, you can use this in the meantime: Picker.filterFunction = req => !req.url.startsWith('/__meteor__/');