js: SyntaxError: Cannot use import statement outside a module

Error:

js: SyntaxError: Cannot use import statement outside a module

Solution:
Add:


Done!

Reference:
https://stackoverflow.com/questions/58384179/syntaxerror-cannot-use-import-statement-outside-a-module

Read More: