You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
412 B
23 lines
412 B
import { defineBuildConfig } from "unbuild";
|
|
|
|
export default defineBuildConfig({
|
|
entries: [
|
|
"src/index.ts",
|
|
{
|
|
input: "src/plugins/",
|
|
outDir: "dist/plugins/",
|
|
format: "esm",
|
|
},
|
|
{
|
|
input: "src/plugins/",
|
|
outDir: "dist/plugins/",
|
|
format: "cjs",
|
|
ext: "cjs",
|
|
declaration: false,
|
|
},
|
|
],
|
|
declaration: true,
|
|
rollup: {
|
|
emitCJS: true,
|
|
},
|
|
});
|
|
|