score:4

Accepted answer
require('esbuild').buildSync({
  entryPoints: ['app.js'],
  bundle: true,
  loader: { '.js': 'jsx' },
  outfile: 'out.js',
})

score:0

import React from 'react';

Related Query

More Query from same tag