fix: keep the outfile
filename the same as where it was used (#695)
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
This commit is contained in:
parent
eca66b1c54
commit
b077fa4246
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ async function main() {
|
||||||
await esbuildServe(
|
await esbuildServe(
|
||||||
{
|
{
|
||||||
entryPoints: ['src/index.tsx'],
|
entryPoints: ['src/index.tsx'],
|
||||||
outfile: 'dist/bundle.js',
|
outfile: 'dist/index.js',
|
||||||
bundle: true,
|
bundle: true,
|
||||||
minify: false,
|
minify: false,
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
|
|
Loading…
Reference in a new issue