You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to bundle, I see an error. TypeError: Cannot read properties of undefined (reading 'A')
Reproduction
Clone this this repo
Run npm i
Run npm run build # using ts-loader
Run npm run start
You should see a working node app.
Run npm run build:esbuild # using esbuild-loader
Run npm run start
You should see an error.
Bug description
Here's an example you can reproduce.
https://github.com/ynifamily3/esbuild-loader-issue
index.ts
types.ts
When trying to bundle, I see an error.
TypeError: Cannot read properties of undefined (reading 'A')
Reproduction
Clone this this repo
Run
npm i
Run
npm run build
# using ts-loaderRun
npm run start
You should see a working node app.
Run
npm run build:esbuild
# using esbuild-loaderRun
npm run start
You should see an error.
Node.js package manager
npm
Environment
Can you contribute a fix?
The text was updated successfully, but these errors were encountered: