set mainFields
This commit is contained in:
parent
61a00a7e34
commit
e47c26cf04
@ -6,6 +6,9 @@ export default defineConfig(lib({
|
|||||||
noDts: true,
|
noDts: true,
|
||||||
build: {
|
build: {
|
||||||
target: "node18",
|
target: "node18",
|
||||||
minify: true,
|
minify: false,
|
||||||
}
|
},
|
||||||
|
resolve: {
|
||||||
|
mainFields: ["module"],
|
||||||
|
},
|
||||||
}));
|
}));
|
||||||
|
Loading…
Reference in New Issue
Block a user