Fix Moment locales failing to load

This commit is contained in:
Evan Hahn 2022-02-15 16:32:10 -06:00 committed by GitHub
parent 191302d703
commit 68537902fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -415,7 +415,10 @@ try {
window.React = require('react'); window.React = require('react');
window.ReactDOM = require('react-dom'); window.ReactDOM = require('react-dom');
window.moment = require('moment'); window.moment = require('moment');
require('moment/min/locales.min');
window.PQueue = require('p-queue').default; window.PQueue = require('p-queue').default;
const Signal = require('./js/modules/signal'); const Signal = require('./js/modules/signal');