MIME "application/javascript"
I suggest adding the ability to place ".js"
files in assets.
Now when I add a file with javascript code, I have to put it in a file with the *.txt
extension.
Files with the *.js
extension would also be treated specially and when the browser wanted to download this file from the server, the file would have the MIME
header "application/javascript"
.
This would make it possible to freely add libraries to projects (using "import" in the javascript code).
It would also allow the Worker
class to run smoothly.