oslabs-beta / SvelteSlicer

MIT License
20 stars 5 forks source link

Create Build Process for Injected Script #42

Closed heatherbarney closed 1 year ago

heatherbarney commented 1 year ago

This PR lays the groundwork for better modularization of the backend code that has been living in the "injected.js" file.

The goal is to break that one long file into individual class modules that can be developed adhering to principles of single responsibility and then connected via import/export statements. The issue is that those files will need to be packaged into their own bundle, separate from the client bundles, so this PR sets up a second build process to to facilitate that.

Specific file changes: