5 lines
290 B
JavaScript
5 lines
290 B
JavaScript
|
|
export default ['app', 'panel', 'datasource'].map(name => ({
|
||
|
|
input: `build/${name}.js`,
|
||
|
|
output: { file: `dist/${name === 'app' ? '' : name + '/'}module.js`, format: 'system' },
|
||
|
|
external: ['react', '@grafana/data', '@grafana/runtime', '@grafana/ui', 'rxjs', 'react/jsx-runtime'],
|
||
|
|
}));
|