Replace to shakapacker from webpacker
This commit is contained in:
parent
0aacf00f5b
commit
64ee565b33
80 changed files with 1737 additions and 3956 deletions
11
app/javascript/application.js
Normal file
11
app/javascript/application.js
Normal file
|
@ -0,0 +1,11 @@
|
|||
import 'mastodon/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);
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue