Require stylesheets in common.js (#4152)
Require stylesheets in common.js because stylesheets are shared by the entry points.
This commit is contained in:
1 parent
31366334cb
commit
8784bd79d0
4 files changed
+7
-6
No files matched your search
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user