fix: keep the `outfile` filename the same as where it was used (#695)

Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
pull/698/head
Pengsha Ying 2022-05-21 17:23:07 +08:00 zatwierdzone przez GitHub
rodzic eca66b1c54
commit b077fa4246
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -17,7 +17,7 @@ async function main() {
await esbuildServe(
{
entryPoints: ['src/index.tsx'],
outfile: 'dist/bundle.js',
outfile: 'dist/index.js',
bundle: true,
minify: false,
sourcemap: true,