Skip to content

Commit

Permalink
Update config
Browse files Browse the repository at this point in the history
  • Loading branch information
shoonia committed Apr 22, 2024
1 parent ca596cf commit 8a92de2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,13 @@ const buildConfig = ({ NODE_ENV }) => {
globalFunctions: ['requestAnimationFrame'],
},
],
[
'@babel/plugin-transform-react-jsx',
{
runtime: 'automatic',
importSource: 'preact',
},
],
],
},
},
Expand Down

0 comments on commit 8a92de2

Please sign in to comment.