mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Panel Inspect: use monaco for json display (#25251)
This commit is contained in:
@@ -25,7 +25,16 @@ const buildCjsPackage = ({ env }) => {
|
||||
},
|
||||
},
|
||||
],
|
||||
external: ['react', 'react-dom', '@grafana/data', 'moment', '@grafana/e2e-selectors'],
|
||||
external: [
|
||||
'react',
|
||||
'react-dom',
|
||||
'@grafana/data',
|
||||
'@grafana/e2e-selectors',
|
||||
'moment',
|
||||
'monaco-editor', // Monaco should not be used directly
|
||||
'monaco-editor/esm/vs/editor/editor.api', // Monaco should not be used directly
|
||||
'react-monaco-editor',
|
||||
],
|
||||
plugins: [
|
||||
commonjs({
|
||||
include: /node_modules/,
|
||||
|
||||
Reference in New Issue
Block a user