mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-15 12:55:51 +00:00
fix: 修复构建产物 import 失效问题
This commit is contained in:
@@ -64,15 +64,6 @@ export default defineConfig({
|
||||
chunkFileNames: "chunks/[name]-[hash].js",
|
||||
},
|
||||
|
||||
// Externalize native addon packages (they contain .node binaries)
|
||||
external: [
|
||||
/audio-capture-napi/,
|
||||
/color-diff-napi/,
|
||||
/image-processor-napi/,
|
||||
/modifiers-napi/,
|
||||
/url-handler-napi/,
|
||||
],
|
||||
|
||||
plugins: [
|
||||
rawAssetPlugin([".md", ".txt", ".html", ".css"]),
|
||||
featureFlagsPlugin(),
|
||||
|
||||
Reference in New Issue
Block a user