2022-09-21 09:25:01 +00:00
|
|
|
import { defineConfig } from "tsup";
|
|
|
|
|
|
|
|
export default defineConfig({
|
|
|
|
entry: [
|
2022-10-26 08:54:18 +00:00
|
|
|
"src/const.ts",
|
|
|
|
"src/types.ts",
|
|
|
|
"src/urls.ts",
|
|
|
|
"src/headers.ts",
|
|
|
|
"src/saleor-app.ts",
|
|
|
|
"src/infer-webhooks.ts",
|
2022-09-21 09:25:01 +00:00
|
|
|
"src/APL/index.ts",
|
|
|
|
"src/app-bridge/index.ts",
|
|
|
|
"src/handlers/next/index.ts",
|
|
|
|
"src/middleware/index.ts",
|
2022-10-12 11:28:00 +00:00
|
|
|
"src/settings-manager/index.ts",
|
2022-09-21 09:25:01 +00:00
|
|
|
],
|
|
|
|
dts: true,
|
|
|
|
clean: true,
|
|
|
|
format: ["esm", "cjs"],
|
|
|
|
splitting: true,
|
|
|
|
external: ["**/*.md"],
|
|
|
|
});
|