refactor: move all the config files to root (#8033)

This commit is contained in:
Parbez
2022-06-07 16:05:19 +05:30
committed by GitHub
parent 8b979c0245
commit 769ea0bfe7
43 changed files with 123 additions and 413 deletions

View File

@@ -1,20 +1,3 @@
import { defineConfig } from 'tsup';
import { createTsupConfig } from '../../tsup.config';
export default defineConfig({
clean: true,
dts: false,
entryPoints: ['src/index.ts'],
format: ['esm', 'cjs'],
minify: false,
keepNames: true,
skipNodeModulesBundle: true,
sourcemap: true,
target: 'es2021',
esbuildOptions: (options, context) => {
if (context.format === 'cjs') {
options.banner = {
js: '"use strict";',
};
}
},
});
export default createTsupConfig();