Referencing external libraries and UI components in vanilla JS project

Ah, I just specified how it would work normally, I’ve never built a Chrome extension and assumed they worked the same way. Have you read how Chrome extensions work? They can’t reference external scripts at all, it has to be contained in a single webpage, so you can’t do what you were trying to do anyway, you have to really package it up into a single script