Я попытался включить компонент Bulma QuickView, загруженный с их github
<script type="text/javascript" src="{{ url_for('static', filename='bul-js/bul-qv-index.js') }}"></script>
После запуска я получил сообщение об ошибке:
Uncaught SyntaxError: Cannot use import statement outside a module
затем я попытался изменить тип на "модуль"
<script type="module" src="{{ url_for('static', filename='bul-js/bul-qv-index.js') }}"></script>
и снова получил ошибку:
Failed to load module script: The server responded with a non-JavaScript MIME type of "text/plain". Strict MIME type checking is enforced for module scripts per HTML spec.