Dont use CommonJS (require
, module.exports
) anywhere (#24913)
This commit is contained in:
parent
89269e4b71
commit
955179fc55
17 changed files with 79 additions and 41 deletions
|
@ -5,8 +5,7 @@ import Mastodon from 'mastodon/containers/mastodon';
|
|||
import { store } from 'mastodon/store/configureStore';
|
||||
import { me } from 'mastodon/initial_state';
|
||||
import ready from 'mastodon/ready';
|
||||
|
||||
const perf = require('mastodon/performance');
|
||||
import * as perf from 'mastodon/performance';
|
||||
|
||||
/**
|
||||
* @returns {Promise<void>}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue