mirror of
https://github.com/discordjs/discord.js.git
synced 2024-08-22 00:14:41 +12:00
18 lines
504 B
TypeScript
18 lines
504 B
TypeScript
import { esbuildPluginVersionInjector } from 'esbuild-plugin-version-injector';
|
|
import { createTsupConfig } from '../../tsup.config.js';
|
|
|
|
export default [
|
|
createTsupConfig({
|
|
entry: ['src/index.ts'],
|
|
esbuildPlugins: [esbuildPluginVersionInjector()],
|
|
}),
|
|
createTsupConfig({
|
|
entry: ['src/web.ts'],
|
|
esbuildPlugins: [esbuildPluginVersionInjector()],
|
|
}),
|
|
createTsupConfig({
|
|
entry: ['src/strategies/*.ts'],
|
|
outDir: 'dist/strategies',
|
|
esbuildPlugins: [esbuildPluginVersionInjector()],
|
|
}),
|
|
];
|