Archived
init
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
import { defineWorkspace } from "bunup";
|
||||
|
||||
export default defineWorkspace([
|
||||
{
|
||||
name: "core",
|
||||
root: "packages/core",
|
||||
config: {
|
||||
entry: ["src/index.ts"],
|
||||
format: ["esm", "cjs"],
|
||||
external: ["react", "react-dom", "@supwr/core"]
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "react",
|
||||
root: "packages/react",
|
||||
config: {
|
||||
entry: ["src/index.ts"],
|
||||
format: ["esm", "cjs"],
|
||||
external: ["react", "react-dom", "@supwr/core"]
|
||||
},
|
||||
},
|
||||
], {
|
||||
format: ["esm", "cjs"],
|
||||
exports: true,
|
||||
target: "browser",
|
||||
watch:true
|
||||
});
|
||||
Reference in New Issue
Block a user