fix: build issues

This commit is contained in:
2023-11-01 15:22:32 +01:00
parent c7555e1918
commit 4bdd4b20d0
15 changed files with 188 additions and 74 deletions

View File

@@ -1,5 +1,4 @@
import {defineConfig} from 'tsup';
import {jsonSchemaPlugin} from '@openstapps/json-schema-generator';
export default defineConfig({
entry: ['src/index.ts'],
@@ -7,6 +6,4 @@ export default defineConfig({
clean: true,
format: 'esm',
outDir: 'lib',
external: ['./index.schema.json'],
plugins: [jsonSchemaPlugin('index.schema.json')],
});