From c6397883dbcc3a7405f1bc40396c0b976f0ed3a5 Mon Sep 17 00:00:00 2001 From: mickelr Date: Thu, 4 Dec 2025 17:36:10 +0800 Subject: [PATCH] fix(hash_tree_build): transpile our local packages and the xxh3-ts package in node_modules --- webpack.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index bd50730c7bc..e10cfdeaa1e 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -109,7 +109,8 @@ module.exports = (env = {NODE_ENV: process.env.NODE_ENV || 'production'}) => ({ rules: [ { test: /\.(js|tsx|ts)$/, - include: [/packages/], + // transpile our local packages and the xxh3-ts package in node_modules + include: [/packages/, path.resolve(__dirname, 'node_modules/xxh3-ts')], use: { loader: 'babel-loader', },