Skip to content

Commit

Permalink
Added jsx compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
rsefer committed Aug 28, 2023
1 parent e3fa8ce commit 3733437
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const buildJS = async (entry, name, entriesToLint) => {
platform: 'node',
entryPoints: [entry],
bundle: true,
loader: {},
loader: { '.js': 'jsx' },
minify: true,
outdir: 'dist/scripts/',
entryNames: '[dir]/[name].min',
Expand Down

0 comments on commit 3733437

Please sign in to comment.