I'm trying to create a Chrome extension.
However, once I've tried integrating Parcel I am in a bit of a pickle. I'd like to use Parcel for compatibility with old Chrome versions + for splitting my code into multiple files.
My folder structure:

When I try to make this command work:
//package.json
"scripts": {
"build": "parcel build src/js/script.js", }
I end up only with the 'script.js' inside the '/dist' folder, but I want to create a dist folder that I can package and publish. I basically want to get all my html, css, js (etc.) inside a dist folder. Can this be done?
How would you go about adding a whole framework, like Vue or React e.g. to make the popup or options page?