skypackjs / skypack-cdn

An issue tracker for the CDN
107 stars 5 forks source link

module export is `null` in skypack #113

Open trusktr opened 3 years ago

trusktr commented 3 years ago

Try this:

import {element} from 'https://cdn.skypack.dev/@lume/element@0.3.3'

console.log(element) // null

The element import should not be null.

matthewp commented 3 years ago

Hey @trusktr, I look a look at the package and couldn't quite figure it out. It thinks that element is defined in @lume/variable but it is not. Still looking into this. You haven't attempted to use snowpack with this package locally have you?