Remove index export (#98)
* Remove index export * Add export of saleor-app * Add export of infer webhooks
This commit is contained in:
parent
f90bb0eb1d
commit
399102375a
2 changed files with 15 additions and 9 deletions
13
package.json
13
package.json
|
@ -116,10 +116,15 @@
|
|||
"import": "./handlers/next/index.mjs",
|
||||
"require": "./handlers/next/index.js"
|
||||
},
|
||||
".": {
|
||||
"types": "./index.d.ts",
|
||||
"import": "./index.mjs",
|
||||
"require": "./index.js"
|
||||
"./saleor-app": {
|
||||
"types": "./saleor-app.d.ts",
|
||||
"import": "./saleor-app.mjs",
|
||||
"require": "./saleor-app.js"
|
||||
},
|
||||
"./infer-webhooks": {
|
||||
"types": "./infer-webhooks.d.ts",
|
||||
"import": "./infer-webhooks.mjs",
|
||||
"require": "./infer-webhooks.js"
|
||||
}
|
||||
},
|
||||
"publishConfig": {
|
||||
|
|
|
@ -2,11 +2,12 @@ import { defineConfig } from "tsup";
|
|||
|
||||
export default defineConfig({
|
||||
entry: [
|
||||
/**
|
||||
* TODO Introduce breaking change and remove exporting from paths, merge everything to index
|
||||
*/
|
||||
"src/*",
|
||||
"src/index.ts",
|
||||
"src/const.ts",
|
||||
"src/types.ts",
|
||||
"src/urls.ts",
|
||||
"src/headers.ts",
|
||||
"src/saleor-app.ts",
|
||||
"src/infer-webhooks.ts",
|
||||
"src/APL/index.ts",
|
||||
"src/app-bridge/index.ts",
|
||||
"src/handlers/next/index.ts",
|
||||
|
|
Loading…
Reference in a new issue