Js: refactor Code to use Import syntax
Js: using Import statement
Use the Javascript import syntax rather than linking all the scripts in the header like this:
<head>
<script src="path"></script>
</head>
with import syntax in a javascript file:
import * as banner from '/static/banner.js';