We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have a build.ts which I run to compile my source files with esbuild. To run it I have a npm-run-script:
build.ts
esbuild
"compile": "node -r esbuild-runner/register build.ts",
We do not have tslib explicitly installed in our project. When running the above command we get the following error:
tslib
/Users/<project-folder>/node_modules/esbuild-runner/lib/esbuild.js:22 externals = (0, tslib_1.__spreadArray)((0, tslib_1.__spreadArray)([], Object.keys((_a = pkg.dependencies) !== null && _a !== void 0 ? _a : {}), true), Object.keys((_b = pkg.devDependencies) !== null && _b !== void 0 ? _b : {}), true); TypeError: (0 , tslib_1.__spreadArray) is not a function at Object.<anonymous> (/Users/<project-folder>/node_modules/esbuild-runner/lib/esbuild.js:22:70)
If I add tslib explicitly to the project, the above command runs without any problems.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have a
build.ts
which I run to compile my source files withesbuild
. To run it I have a npm-run-script:We do not have
tslib
explicitly installed in our project. When running the above command we get the following error:If I add
tslib
explicitly to the project, the above command runs without any problems.The text was updated successfully, but these errors were encountered: