script-lab icon indicating copy to clipboard operation
script-lab copied to clipboard

Cannot import module when adding firebase library to my script

Open ansanes opened this issue 4 years ago • 0 comments

I'm getting this error:

["Module import or export statement unexpected here", "https://unpkg.com/[email protected]/dist/index.esm.js", 1, 1, undefined]
 0: "Module import or export statement unexpected here"

 1: "https://unpkg.com/[email protected]/dist/index.esm.js"

 2: 1

 3: 1

 4: undefined

after adding this lines in the libraries section of script-lab

firebase
@types/firebase

Is script-lab compatible with firebase js library?

ansanes avatar Dec 01 '20 22:12 ansanes