Skip to content

Cannot include apache-arrow when build the esm for broswer #838

Answered by fi3ework
Roy-Kid asked this question in Q&A
Discussion options

You must be logged in to vote
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 depedencies field in package.json instead of devDependencies (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.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Roy-Kid
Comment options

@Roy-Kid
Comment options

@Timeless0911
Comment options

Answer selected by Roy-Kid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants