-
Hi! Thanks for the brilliant and convenient tools! I have an issue when I build the lib. My typescript project depends on apache-arrow, but it seems it cannot be included in the output(sorry for the language because Im not good at front-end technique).
My final output starts with this:
They have provided many kinds of https://arrow.apache.org/docs/js/index.html#packaging packaging, but I have tried many of them but cannot fix the problem. Can anyone help with this, how to include all deps in the final production. Update: One possible reason is my project contains multiple workspaces, and all packages I installed are stored in I find this similar discussion: #806. As far as I understand, this identifier should be imported by another module in the packages or pipeline, but how if I only have a single module... Bests, Jichen |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
import * as __WEBPACK_EXTERNAL_MODULE__apache_arrow_ts_485105c1__ from "@apache-arrow/ts";
// or
import ...... from "apache-arrow"; This means you're not bundling apache package since they're in the If you want to make apache packages being bundled in your package, you could move it to |
Beta Was this translation helpful? Give feedback.
This means you're not bundling apache package since they're in the
depedencies
field in package.json instead ofdevDependencies
(this is what https://lib.rsbuild.dev/config/lib/auto-external do).If you want to make apache packages being bundled in your package, you could move it to
devDependencies
in package.json.