duckdb-wasm
duckdb-wasm copied to clipboard
Source map errors when compiling with webpack
When I compile with webpack, I get many warnings about sourcemaps for apache-arrow
.
WARNING in ../../node_modules/@duckdb/duckdb-wasm/dist/duckdb-browser-mvp.worker.js
Module Warning (from ../../node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/manny/code/work/axis/node_modules/node_modules/apache-arrow/visitor/visitor/vectorassembler.ts' file: Error: ENOENT: no such file or directory, open '/Users/manny/code/work/axis/node_modules/node_modules/apache-arrow/visitor/visitor/vectorassembler.ts'
WARNING in ../../node_modules/@duckdb/duckdb-wasm/dist/duckdb-browser-eh.worker.js
Module Warning (from ../../node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/manny/code/work/axis/node_modules/node_modules/apache-arrow/util/util/bit.ts' file: Error: ENOENT: no such file or directory, open '/Users/manny/code/work/axis/node_modules/node_modules/apache-arrow/util/util/bit.ts'
It looks like something, somewhere, is inserting a duplicate path segment visitor/visitor
, util/util
, builder/builder
, etc.
I don't these warnings from @apache-arrow/[email protected]
, which I have installed separately. Is there something about the duckdb-wasm
build that changes these sourcemaps?