mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-08-28 23:35:25 +00:00
* Change how CDN_HOST is passed down to make assets build reproducible * Change webpacker/webpack configuration to dynamically load publicPath based on meta header * Fix embedded layout missing the cdn-host meta header
12 lines
245 B
JavaScript
12 lines
245 B
JavaScript
import './public-path';
|
|
import loadPolyfills from '../mastodon/load_polyfills';
|
|
import { start } from '../mastodon/common';
|
|
|
|
start();
|
|
|
|
loadPolyfills().then(() => {
|
|
require('../mastodon/main').default();
|
|
}).catch(e => {
|
|
console.error(e);
|
|
});
|