mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-21 15:55:50 +00:00
fix: 修复构建产物 import 失效问题
This commit is contained in:
@@ -64,15 +64,6 @@ export default defineConfig({
|
|||||||
chunkFileNames: "chunks/[name]-[hash].js",
|
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: [
|
plugins: [
|
||||||
rawAssetPlugin([".md", ".txt", ".html", ".css"]),
|
rawAssetPlugin([".md", ".txt", ".html", ".css"]),
|
||||||
featureFlagsPlugin(),
|
featureFlagsPlugin(),
|
||||||
|
|||||||
Reference in New Issue
Block a user