soapbox/app/application.ts

15 wiersze
327 B
TypeScript
Czysty Zwykły widok Historia

import loadPolyfills from './soapbox/load_polyfills';
// @ts-ignore
2020-09-28 01:27:27 +00:00
require.context('./images/', true);
2021-09-11 00:30:47 +00:00
// Load stylesheet
2022-03-21 18:09:01 +00:00
require('react-datepicker/dist/react-datepicker.css');
2021-09-11 00:30:47 +00:00
require('./styles/application.scss');
loadPolyfills().then(() => {
require('./soapbox/main').default();
}).catch(e => {
console.error(e);
});