feat: expose certain classes under the monochrome object when in dev mode
This commit is contained in:
parent
c768f8d675
commit
aa1c6944d2
1 changed files with 8 additions and 0 deletions
|
|
@ -383,6 +383,14 @@ async function uploadCoverImage(file) {
|
|||
document.addEventListener('DOMContentLoaded', async () => {
|
||||
await modernSettings.waitPending();
|
||||
|
||||
if (import.meta.env.DEV) {
|
||||
window.monochrome = {
|
||||
MusicAPI,
|
||||
LyricsManager,
|
||||
Player,
|
||||
};
|
||||
}
|
||||
|
||||
// Initialize analytics
|
||||
initAnalytics();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue