sforkowany z mirror/soapbox
18 wiersze
387 B
TypeScript
18 wiersze
387 B
TypeScript
import loadPolyfills from './soapbox/load_polyfills';
|
|
|
|
// Load iframe event listener
|
|
require('./soapbox/iframe');
|
|
|
|
// @ts-ignore
|
|
require.context('./images/', true);
|
|
|
|
// Load stylesheet
|
|
require('react-datepicker/dist/react-datepicker.css');
|
|
require('./styles/application.scss');
|
|
|
|
loadPolyfills().then(() => {
|
|
require('./soapbox/main').default();
|
|
}).catch(e => {
|
|
console.error(e);
|
|
});
|