There was an issue where the build files for the static viewer were no longer being built properly when changes were made to the src files.
This PR:
Updates static express server to try to resolve files without an extension to .js
Updates module imports and exports as needed
Switches module type from common -> es6
Test:
Build the project locally - npm run build
Run static server - npm run static
Click on "The Call of the Wild" link on index page and the e-reader loads. If you make changes to .ts files in the src directory or to the index.html in the viewer folder it should effect the appearance of this e-reader (post re-build)
There was an issue where the build files for the static viewer were no longer being built properly when changes were made to the src files.
This PR:
Test:
npm run build
npm run static
.ts
files in thesrc
directory or to the index.html in the viewer folder it should effect the appearance of this e-reader (post re-build)