Move JS source from packs
to entrypoints
(#30037)
This commit is contained in:
parent
32ead51e5a
commit
3f6887557b
13 changed files with 2 additions and 2 deletions
15
app/javascript/entrypoints/application.js
Normal file
15
app/javascript/entrypoints/application.js
Normal file
|
@ -0,0 +1,15 @@
|
|||
import './public-path';
|
||||
import main from "mastodon/main";
|
||||
|
||||
import { start } from '../mastodon/common';
|
||||
import { loadLocale } from '../mastodon/locales';
|
||||
import { loadPolyfills } from '../mastodon/polyfills';
|
||||
|
||||
start();
|
||||
|
||||
loadPolyfills()
|
||||
.then(loadLocale)
|
||||
.then(main)
|
||||
.catch(e => {
|
||||
console.error(e);
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue