Open moarwick opened 2 years ago
@dcantu476 Any thoughts on this?
@jasonbosco @moarwick
The first place I would check is to see what is different between the CI pipeline and your regular build steps. Maybe the CI pipeline is using a different version of typescript? Other than that, the formatting of the files is correct from what I can see.
Description
We have a Typescript project, built using Webpack +
ts-loader
. In the client SPA, I've imported Typesense the traditional wayimport * as Typesense from 'typesense'
which seems to work well (typings come through). The code builds and runs fine, but at build time I'm getting the following errors, so our CI/CD pipeline stops :(Expected Behavior
Should transpile without errors. Is there a different way I should be importing the browser client?
Metadata
Typsense Version: "typesense": "^1.1.2" "@babel/runtime": "^7.16.7" <-- we aren't running Babel, is it needed?
OS: OSX BigSur 11.6