fix: 修复构建产物 import 失效问题
This commit is contained in:
parent
84f0271813
commit
13a0bfc479
|
|
@ -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(),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user