2020-02-26 23:24:38 +08:00
|
|
|
// Needed for Atmosphere package RocketChat/meteor-streamer
|
|
|
|
// It is out of date and was written when Meteor contained lodash
|
|
|
|
// package. However, we now import lodash as an npm package
|
|
|
|
// in order to control versions, update flexibly, etc..
|
|
|
|
// Setting the global._ to utilize the npm lodash package is an interim fix
|
|
|
|
// and its introduction was inspired by
|
|
|
|
// https://github.com/RocketChat/meteor-streamer/issues/40#issuecomment-497627893
|
2023-02-24 01:38:48 +08:00
|
|
|
import { isEmpty } from 'radash';
|
2020-02-26 23:24:38 +08:00
|
|
|
|
2023-02-24 01:38:48 +08:00
|
|
|
global._ = { isEmpty };
|
2024-07-03 04:04:34 +08:00
|
|
|
|
|
|
|
Meteor.settings.public.packages = {
|
|
|
|
'dynamic-import': { useLocationOrigin: true },
|
|
|
|
};
|