Why am I unable to use js modules in frappe?

I am unable to use firebase sdk in frappe using their import statements.
How to use js modules in frappe?

You can’t use them in straight client scripts. You can however write JS and bundle it with dependencies to be loaded on client side.

Docs: Asset Bundling

1 Like