Compiling this extension in my webpack build produces sourceMap errors like the following:
Failed to parse source map from '/project/node_modules/.pnpm/electron-devtools-installer@3.2.0/node_modules/electron-devtools-installer/src/downloadChromeExtension.ts' file: Error: ENOENT: no such file or directory, open '/project/node_modules/.pnpm/electron-devtools-installer@3.2.0/node_modules/electron-devtools-installer/src/downloadChromeExtension.ts'
This stems from the bundled .map files pointing to the (not bundled) src directory:
"sources":["../src/downloadChromeExtension.ts"]
Do we actually need source maps in the NPM package? Or is this an issue with my webpack conf?
Compiling this extension in my webpack build produces sourceMap errors like the following:
This stems from the bundled
.map
files pointing to the (not bundled)src
directory:Do we actually need source maps in the NPM package? Or is this an issue with my webpack conf?