mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-21 09:03:02 +00:00
feat: improve monorepo dev experience
This commit is contained in:
12
examples/minimal-plugin/tsup.config.ts
Normal file
12
examples/minimal-plugin/tsup.config.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import {defineConfig} from 'tsup';
|
||||
import {jsonSchemaPlugin} from '@openstapps/json-schema-generator';
|
||||
|
||||
export default defineConfig({
|
||||
entry: ['src/app.ts'],
|
||||
sourcemap: true,
|
||||
clean: true,
|
||||
format: 'esm',
|
||||
outDir: 'lib',
|
||||
noExternal: [/.*:schema#.*/],
|
||||
plugins: [jsonSchemaPlugin('schema.json')],
|
||||
});
|
||||
Reference in New Issue
Block a user