4c45b43cb8
* 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
11 líneas
245 B
JavaScript
11 líneas
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);
|
|
});
|