fix: add all lumeweb libraries to external
This commit is contained in:
parent
4f5118fe34
commit
e1e82adef8
|
@ -13,7 +13,11 @@ export default defineConfig({
|
|||
plugins: [
|
||||
svgr(),
|
||||
react(),
|
||||
scopeTailwind({ react: true, prefix: TW_PREFIX, classNameTransformers: ['cn'] }),
|
||||
scopeTailwind({
|
||||
react: true,
|
||||
prefix: TW_PREFIX,
|
||||
classNameTransformers: ["cn"],
|
||||
}),
|
||||
dts({
|
||||
tsconfigPath: "tsconfig.build.json",
|
||||
}),
|
||||
|
@ -49,7 +53,15 @@ export default defineConfig({
|
|||
output: {
|
||||
inlineDynamicImports: false,
|
||||
},
|
||||
external: ["react", "react-dom"],
|
||||
external: [
|
||||
"react",
|
||||
"react-dom",
|
||||
"@lumeweb/libportal",
|
||||
"@lumeweb/libweb",
|
||||
"@lumeweb/libkernel/module",
|
||||
"@lumeweb/libkernel/kernel",
|
||||
"@lumeweb/libkernel",
|
||||
],
|
||||
},
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue