chore(plugin-form-builder): add types export (#6218)

Co-authored-by: Elliot DeNolf <denolfe@gmail.com>
This commit is contained in:
Paul
2024-05-06 10:48:14 -03:00
committed by GitHub
parent 9492f0ae29
commit a85dc66a39
4 changed files with 7 additions and 5 deletions

View File

@@ -26,14 +26,17 @@
"import": "./src/index.ts",
"require": "./src/index.ts",
"types": "./src/index.ts"
},
"./*": {
"import": "./src/exports/*.ts",
"require": "./src/exports/*.ts",
"types": "./src/exports/*.ts"
}
},
"main": "./src/index.ts",
"types": "./src/index.ts",
"files": [
"dist",
"types.js",
"types.d.ts"
"dist"
],
"scripts": {
"build": "swc ./src -d ./dist --config-file .swcrc",

View File

@@ -0,0 +1 @@
export type { BeforeEmail, Email, FieldsConfig, HandlePayment, Redirect } from '../types.js'

View File

@@ -1 +0,0 @@
export * from './dist/types'

View File

@@ -1 +0,0 @@
module.exports = require('./dist/types')