Skip to content

Commit

Permalink
packages/api/scripts/cli.js uses esbuild with jsx loader
Browse files Browse the repository at this point in the history
  • Loading branch information
gobengo committed Nov 11, 2023
1 parent d882ab8 commit af91972
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/api/scripts/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ prog
outfile: path.join(__dirname, '..', 'dist', 'worker.js'),
legalComments: 'external',
inject: [path.join(__dirname, 'node-globals.js')],
loader: { '.js': 'jsx' },

Check failure on line 36 in packages/api/scripts/cli.js

View workflow job for this annotation

GitHub Actions / Lint

Extra space before value for key 'loader'
plugins: [
{
name: 'alias',
Expand Down

0 comments on commit af91972

Please sign in to comment.