Require stylesheets in common.js (#4152)
Require stylesheets in common.js because stylesheets are shared by the entry points.
This commit is contained in:
parent
31366334cb
commit
8784bd79d0
4 changed files with 7 additions and 6 deletions
|
@ -1,9 +1,5 @@
|
|||
const perf = require('./performance');
|
||||
|
||||
// import default stylesheet with variables
|
||||
require('font-awesome/css/font-awesome.css');
|
||||
require('mastodon-application-style');
|
||||
|
||||
function onDomContentLoaded(callback) {
|
||||
if (document.readyState !== 'loading') {
|
||||
callback();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue