soapbox/app/application.ts

18 wiersze
394 B
TypeScript
Czysty Zwykły widok Historia

2022-11-15 20:50:11 +00:00
import loadPolyfills from './soapbox/load-polyfills';
// Load iframe event listener
require('./soapbox/iframe');
// @ts-ignore
require.context('./assets/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);
});