using import instead of fetch imports the files from relative path as a module instead of a call to give a hashed versioning to the built text file, fixing the issue of the browser caching the files even after new builds have been deployed.
Related Issue(s)
877
Verification
[ ] Your code builds clean without any errors or warnings
[ ] Manual testing done (required)
[ ] Relevant automated test added (if you find this hard, leave it and we'll help out)
[ ] All tests run green
Documentation
[ ] User documentation is updated with a separate linked PR in altinn-studio-docs. (if applicable)
Description
using import instead of fetch imports the files from relative path as a module instead of a call to give a hashed versioning to the built text file, fixing the issue of the browser caching the files even after new builds have been deployed.
Related Issue(s)
877
Verification
Documentation