refactor: separate out data structures into hoppscotch-data
This commit is contained in:
18
packages/hoppscotch-data/tsup.config.ts
Normal file
18
packages/hoppscotch-data/tsup.config.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
import { Options } from 'tsup'
|
||||
|
||||
const options: Options = {
|
||||
format: [
|
||||
'cjs',
|
||||
// loading Babel in ESM is tricky, since Babel itself it CJS only
|
||||
// we decided to drop ESM support until Babel supports native ESM
|
||||
// 'esm',
|
||||
],
|
||||
clean: true,
|
||||
splitting: true,
|
||||
dts: true,
|
||||
entryPoints: [
|
||||
'src/**/*.ts',
|
||||
],
|
||||
}
|
||||
|
||||
export default options
|
||||
Reference in New Issue
Block a user