v2.29.1 causes "export declarations may only appear at top level of a module" error.
See https://github.com/derekprior/momentjs-rails/issues/61.