Open dy opened 5 years ago
I've ran into this as well when using snowpack.dev -- tslib
is listed as a devDependency, so it's not installed when installing weightless as a dependency. Adding tslib
to my own devDependencies and building works, although tslib
should either be set as dependency
in weightless in that case. Since only utility functions __decorate
and __metadata
are used from tslib
, it might be preferable to just self host those rather than have all of tslib
as a dep.
Just installed weightless, getting that error: