Skip to content

Commit 18fee58

Browse files
committed
feat(create-plugin): externalise react/jsx-dev-runtime to prevent issues appearing only in prod
1 parent f16be5e commit 18fee58

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/create-plugin/templates/common/.config/webpack/webpack.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ const config = async (env: Env): Promise<Configuration> => {
7070
'@grafana/slate-react',
7171
'react',
7272
'react/jsx-runtime',
73+
'react/jsx-dev-runtime',
7374
'react-dom',
7475
'react-redux',
7576
'redux',

0 commit comments

Comments
 (0)